News for hackers. Stuff that matters.
Re:Go Modules in 2019 by jonahx on Wednesday December 19, 2018 @04:27PM (#18719840)
Oh let's be very clear: Go is actively, explicitly anti-FP, anti-expressiveness, anti-brevity. Those are simply not its values. And any attempts to write Go in FP style will be considered unidiomatic Go.

And the missing ternary will be the least of your problems. Do you enjoy `map` and `filter`? Sorry, the "go way" is to use a for loop every time. Reimplementing map on every type where you need it is considered best practice in Go. Have a problem with that? Expect a snarky comment about your priorities.

This can all be pretty frustrating when you've experienced the joys of more expressive languages.

Go has good concurrency primitives and is fast. That's what it's good at. Those are the reasons to use it. Temper your expectations accordingly.

Re:Go Modules in 2019 by Merovius on Wednesday December 19, 2018 @05:50PM (#18720660)
> Have a problem with that? Expect a snarky comment about your priorities.

Whereas your comment is completely devoid of snark.

Re:Go Modules in 2019 by candiodari on Wednesday December 19, 2018 @08:50PM (#18721875)
That comment, however, is a comment on hacker news.

Not the official docs of a programming language. In one of those, a bit of snark is really quite normal and of no real impact.