Marcos Sandrini
Dec 12, 2021

--

I think it is quite funny to see some isolate attempts to write against if lately. It is like if people started to write against high-level languages... let's all get back to machine code, after all it is leaner!

"If" loops are extremely readable ("good code must read like a prose", like one wise guy said) unlike most of the ternaries I've seen used. Also, the examples here that have a function with both else and return show that there is a lack of basic knowledge of the language.

--

--

Marcos Sandrini
Marcos Sandrini

Written by Marcos Sandrini

Designer and front-end programmer with 20+ years of experience, also a keen observer of the world and its people

Responses (1)