4 ms·
I’m doing mostly infra work and have been for some years, with advent of kubernetes it’s really hard to avoid golang. My personal preference (which is clojure)
by keymone 7y ago
I’m doing mostly infra work and have been for some years, with advent of kubernetes it’s really hard to avoid golang.
My personal preference (which is clojure) doesn’t matter much, I’m just really angry and frustrated how industry has settled on something so broken. Pick any non-trivial golang file and it’s 50% boilerplate, 45% passing errors around and about 5% substance. How did we end up with that in 2020? Ten and something years from now lambda calculus will be hundred years old.
- kjeetgill 7y agoWhy do you think it's found the audience it has? I can only speculate, coming from Java, that maybe there is some amount of comfort in boiler plate. Less defaults and less magic can be nice. I like being forced to hardcode the defaults into the program and the like.
- keymone 7y agonot sure this counts as flamewar, so i'm risking some sanctions, but still.. languages can be concise and code can be about the problem without any magic. looking at code for the sake of satisfying language limitations means not looking at the code for solving your problem. it may be comforting to look at boilerplate because you're familiar with it, but it's taxing away your ability to grasp the substance. visual locality matters because that's how our brain works and there can't be visual locality with boilerplate. furthermore everything that's visually remote has to fit in our very limited capacity to mentally juggle concepts, that's why locality and generality (fewer concepts to juggle) is important. golang lacks both generality and conciseness. i have no idea why it's found the audience it has beyond my initial angry comment and maybe also because it's "new".