logoalt Hacker News

arccylast Tuesday at 6:05 PM6 repliesview on HN

and this is how rust gains its reputation as an ugly to read language with inconsistent syntax: design by committee


Replies

codedokodelast Tuesday at 7:57 PM

Golang is also ugly, for example some fields start with a capital letter and some do not.

Also I don't understand how to implement transparent proxies in Go for reactive UI programming.

show 2 replies
jeremyjhlast Tuesday at 6:34 PM

Whereas Go has taken the approach of designing everything "later".

show 2 replies
olalondelast Tuesday at 10:48 PM

Isn't "design by popular vote" an extreme version of "design by committee"? Go won't implement error handling syntax because it can't reach community consensus.

show 1 reply
wtetznerlast Tuesday at 6:23 PM

Ugly is subjective, but which part of the syntax is inconsistent?

show 4 replies
zaptheimpalerlast Tuesday at 7:31 PM

This is the kind of criticism made by people who've spent less than a few days working with a language. Just glancing at some code from a distance. There's nothing actually wrong with it besides being foreign from what you are used to. After you gain some familiarity, it doesn't look ugly or beautiful it just looks like syntax.

dcowlast Tuesday at 11:42 PM

This might be a valid point if Go wasn’t an atrociously ugly and verbose language with some of the worst design out there.