Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
gpanders
5y ago
0 comments
Share
All of these except for the first two seem like good rules in general. Was the ban on the ternary operator just a style/readability thing?
0 comments
default
newest
oldest
unnouinceput
5y ago
Maintenance reasons. Future juniors to not have problems diving into projects directly. Chaining several ternary operators in same line is great to showoff your C prowess but a PITA to decipher what was doing, hence the rules.
j
/
k
navigate · click thread line to collapse