Remix.run Logo
voidUpdate 7 months ago

I really wanted to like go, and I tried to write a discord bot using it, but the very opinionated brace style (which isn't the one I prefer to use), and the fact that I struggled to much to try and split my code across two files kinda turned me off it. In the end I just went back to python

chikere232 7 months ago | parent | next [-]

Python has the most opinionated brace style though

josefx 7 months ago | parent [-]

You can abuse list comprehensions to enclose your code in [ ] instead of having to deal with all that whitespace.

chikere232 7 months ago | parent [-]

oh that's evil :)

linhns 7 months ago | parent | prev | next [-]

Of all the things you can complain about the language, how could you choose the thing that Go got right? It's K&R style is probably the best.

voidUpdate 7 months ago | parent | prev [-]

Genuinely curious, why am I being downvoted? Did I say something wrong?

WesolyKubeczek 7 months ago | parent [-]

Probably just your opinion being shallow.

I mean, come on, coming to Go and of all things complaining about brace style? Coming to Python and of all things complain about syntactically significant whitespace? Coming to Lisp and complaining about parentheses? This is so old.