Better HN
topnewbestaskshowjobs
Log inSign up

halileohalilei

1 karma · joined Oct 6, 2022 (4y ago) · 1 submissions

Submissions

comment 4y ago · link · parent

Completely agree with that. In fact, it's the first thing I thought of when I saw the code snippet in question. Even if you replace the trigraph with the regular || operator, it's still hard to read that piece of code. Syntactic sugars and short circuits are cool and all but most of the time they have no place in production code that's meant to be read by other developers.