2 ms·
My only hot take on syntactic sugar is this observation: If it is less characters to type out, and has a very specific intended purpose, there will always be a
by Justsignedup 3y ago
My only hot take on syntactic sugar is this observation:
If it is less characters to type out, and has a very specific intended purpose, there will always be an engineer on your team who tries to use it just one more time because they were lazy and didn't want to type the extra 5 characters, and then one more time, and then one more time, and then you're debugging code that is unreadable.
This is not an argument for/against any specific syntactic sugars, this is just an observation that I've seen.