3 ms·
> Why write “function” when you can write “=>”? Why write out “Object” when you can just use “{}”? The answer is simple: Cognitive overhead. I'd bet those thin
by alpaca128 4y ago
> Why write “function” when you can write “=>”? Why write out “Object” when you can just use “{}”? The answer is simple: Cognitive overhead.
I'd bet those things have zero effect on cognitive overhead, either way it's just standard tokens you get used to. Meanwhile for loops still have C's cryptic syntax when much more readable alternatives have been established.
> And so how do you think most novice developers utilize “try” and “catch”? You guessed it, to take some block of code that is misbehaving and mute the error.
Name one language that doesn't let you lazily suppress errors. And you know why beginners like to avoid it? Because it's a lot of boilerplate, and Go isn't any better at this.
> Will it actually “take over”? Who can say.
So much for the clickbait title.