↳
In-reply-to
»
π‘ TIL: Today I learned that there is nothing special about
β€ Read More
pkg/
inside of Go projects. It is just like any other sub-package structure you might otherwise define in your project. It just adds an extra part to your imports. I think it's actually confusing at best and just unnecessary typing and an unnecessary sub-structure. Just keep your packages in the top-level and be done with it π
@brasshopper@twtxt.net Bingo! Thatβs just it π Idioms.
Thatβs why you keep hearing about:
Idiomatic Go
Some years ago when I still actively developed in Python i twas:
Zen of Python
Every language has its strengths and weaknesses, like you , I really hate it when the Java or C++ crowd come bring their sillyridiculouss structures to nice languages like Go π (I felt the same way about Python 2.x -> 3.x too, I just couldnβt write Python anymore π )