Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
gpanders
5y ago
0 comments
Save
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
1 comments · 1 top-level
top
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