DEV Community

Discussion on: GoLang, The Next Language to Learn for Developers

Collapse
 
mwrouse profile image
Michael Rouse • Edited

I like Go (and hate it), but unfortunately, for me the forced project structure is a no deal for me. Don't want to be told where to put my code or have to make a symlink for all my repos.

Just like you mentioned with the GOPATH.

I really dislike when languages enforce styles. Sure, it's nice, but what if you don't like it? Languages like Go and Python are nice, but being forced to conform to a certain code style is really annoying sometimes.

If I want to write shitty code--let me write shitty code!!

Collapse
 
dizveloper profile image
Edvin

Hahahaha, power to you my friend! Totally get that (to some extent). One of my reasons for that being a good thing is that there truly is only one way to do something. Though it may not always be fun, it's practical.

Collapse
 
rhymes profile image
rhymes

I like Go (and hate it), but unfortunately, for me the forced project structure is a no deal for me. Don't want to be told where to put my code or have to make a symlink for all my repos.

This is finally (mostly) solved with Go 1.11: dev.to/rhymes/go-gets-modules-12ei

I really dislike when languages enforce styles. Sure, it's nice, but what if you don't like it? Languages like Go and Python are nice, but being forced to conform to a certain code style is really annoying sometimes.

As with many things with Go, you need to embrace it. Think about how much time people spend setting up linters and writing code style specifications and compare it to the zero time you spend on it if you use Go :-)