3 ms·
I'm sure somebody said something like that when all those kids started to the clever abstractions that were functions instead of doing things manually in assem
by BiteCode_dev 6y ago
I'm sure somebody said something like that when all those kids started to the clever abstractions that were functions instead of doing things manually in assembly.
Simplicity!
- carlhjerpe 6y agoSome developers don't want to use the ternary operator because it's "too complex". I believe there's a middle ground to be found where further abstractions add complexity rather than reduce it. Where that middle ground is, I don't know.
- wtetzner 6y agoThat’s a strange definition of complexity. I can see people avoiding the ternary operator because the syntax is hard to read, but it’s no more complex than `if`.
- throwaway894345 6y agoThis is just vapid snark. Of course some abstraction is helpful, but there's also a point at which abstraction impedes understanding. Ergo, we're debating where the "sweet spot" is. Note also that we can say "Go is the sweet spot for most applications" while also acknowledging that it makes certain kinds of programming difficult (e.g., writing a compiler). It's okay to recognize tradeoffs; there's no need to oversimplify or otherwise engage dogmatically.