TheAlgorithms
golang-standards/project-layout
Our great sponsors
TheAlgorithms | golang-standards/project-layout | |
---|---|---|
61 | 195 | |
179,165 | 45,852 | |
1.7% | 1.9% | |
9.7 | 6.4 | |
6 days ago | about 2 months ago | |
Python | Makefile | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
TheAlgorithms
-
Wikifunctions
Is it me or does it not seem very well thought out? Every example I've seen only has implementations in JavaScript and/or Python. I haven't seen any other languages nor a way to search by language. What a "string" means in one language can be completely different in another language. The primitive data types that the project assumes are not really supported across all programming languages.
Also if anyone hasn't already seen them, similar projects already exist and are more complete. E.g.
* https://rosettacode.org/
* https://programming-idioms.org/
* https://the-algorithms.com/
Not to mention LeetCode, CodeWars, Project Euler, Exercism can kinda serve the same role.
-
Introduction
Hey Everyone, My name is Rachit Chawla and Its my first blog on dev.to. I am currently a student of Computer Programming and Analysis at Seneca College. Also I'm currently on my co-op term working as an Automation Developer at Ontario Public Service. In this role, I am currently working with PowerShell scripting and Microsoft Azure for automating every manual tasks to reduce workload and increase efficiency. This blog is a part of OSD600 course at Seneca College. I am taking this course as I am big fan of open source and always wanted to contribute in open source projects but I am unaware of proper documentation and standards used for open source contributions. I am hoping to learn all the required stuff by the end of this course and I aim to be one of the 15k contributors to Linux's repo by Linus Torvald. Open Source interests me because it gives developers the power to customise the application they want to use, also a chance to help others and improve their skills. I found https://github.com/TheAlgorithms/Python interesting from the Monthly trending feed on Github as it has all the algorithms which help us improve time complexity and write better codes. I has about 1000 contributors which helped to code all the algorithms in Python which may help others for working or learning purposes. I myself was a student of Data Structures and Algorithms in Python Winter 2023 and hoping to even able to contribute to this repo itself, once I learn more about documentation & proper standards to be followed.
-
I am studying my college Python so can I learn algorithms from it?
The Algorithms Contains many open source implementations of algorithms. Check it out.
-
Where To Read About Python Algos?
If you want to see implementations of all possible traversal algorithms you can find it here.
-
Book of pythonic code
The mother load of all algorithms in python is here. dfs/bfs in particular are in the graph section.
-
Any tips to improve my coding abilites ?
There is no one way to learn all these but here are some resources: 1. Gooking algorithms [https://edu.anarcho-copy.org/Algorithm/grokking-algorithms-illustrated-programmers-curious.pdf\] 2. Algorithms in all languages [https://the-algorithms.com/] 3. Node js best practices. [https://github.com/goldbergyoni/nodebestpractices] 4. Refactoring [https://refactoring.guru/] 5. Learn about Clean Code and Clean Architecture from uncle bob. https://www.youtube.com/watch?v=NeXQEJNWO5w&ab_channel=StreamAConStreamingConferences
-
Self taught developers: where are you in your journey?
DSA basics
-
Algo and data structures
I would recommend The Algorithms, it comes with descriptions and examples in multiple programming languages.
-
A site that hosts implementations of various programming algorithms in different languages
There's also The Algorithms. Many implementations are unfortunately low quality. The Lua ones (disclaimer: I wrote them) should be fine however.
-
How worried are you about AI taking over music?
Python 940 contributors 152k stars
golang-standards/project-layout
-
The power of the CLI with Golang and Cobra CLI
cmd: here where we will leave the main.go that starts our app.
-
What's your go to literature to build Go libraries?
> https://github.com/golang-standards/project-layout
The name of the repo is really and intentionally misleading. rsc filled an issue there to point this out, but the repo maintainer just disabled issues altogether so now no one can see it.
Even when it would not have such parasitic name, many seasoned Go programmers, me included, consider the self-proclaimed "Standard Go project Layout" as the opposite of what is good and advisable.
Unfortunately, the name just works, so it is being recommended all over the Internet since its inception.
-
"14 Years of Go" by Rob Pike
Your comment makes it look as if you're saying you hate the Go development team, but it seems that isn't the case.
I get a little of what you're saying, I wouldn't say I hate anyone, but I strongly dislike how a lot of projects are organized. I think a lot stems from https://github.com/golang-standards/project-layout , which pretended to be standard and was so (ab)used one of the creators opened an issue about it. If you look at the actual Go src, it's much, much cleaner.
-
Looking for elegant code bases written in GoLang
So you don't get blind sided for self proclaimed "standards" that are not
- I'm coming from Java and I have been told that I'm writing go like I'm writing Java. Basically creating structs, injecting fields, and attaching methods. What else can I do?
- O poder do CLI com Golang e Cobra CLI
- Como deixar o Swagger com tema dark mode usando Swaggo e Golang
-
Can I point a module to a subdirectory?
I am writing a project that has two components: a CLI and a library. I've organised the project as follows (as per organisation instructions):
-
How To Build A Containerized Microservice in Golang: A Step-by-step Guide with Example Use-Case
Familiarity with the standard Golang project structure, which you can find here.
-
Building RESTful API with Hexagonal Architecture in Go
I've been learning how to build web applications using different frameworks and languages for a while now, such as Laravel with its MVC architecture and Node.js following the 'Hapi.js Way'. As I'm trying to create a new portfolio project using Go, I found myself contemplating over the ideal project structure. I wanted something that not only aligns with the standard Go project layout, but also makes the code both easy to write and understand. That's when I stumbled upon the concept of Hexagonal Architecture, as showcased in Netflix's engineering blog. The idea of seamlessly swapping infrastructures with minimal code changes fascinated me, and I decided to implement it in my new project.
What are some alternatives?
python-ds - No non-sense and no BS repo for how data structure code should be in Python - simple and elegant.
uber-go-style-guide-kr - Uber's Go Style Guide Official Translation in Korean. Linked to the uber-go/guide as a part of contributions
new-world-fishing-bot - user friendly python script who is able to catch fish in the game New World
modern-go-application - Modern Go Application example
python-patterns - A collection of design patterns/idioms in Python
uber-go-style-guide-th - Uber's Go Style Guide Translation in Thai. Linked to the uber-go/guide as a part of contributions https://github.com/uber-go/guide
algorithms
go-restful-api - An idiomatic Go REST API starter kit (boilerplate) following the SOLID principles and Clean Architecture
more-itertools - More routines for operating on iterables, beyond itertools
cookiecutter-golang - A Go project template
ClointFusion - Cloint India Pvt. Ltd's (ClointFusion) Pythonic RPA (Automation) Platform
go-sample - Go Project Sample Layout