Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
andreareina
on Aug 10, 2018
|
parent
|
context
|
favorite
| on:
WireGuarding the mainline
Does anyone know
why
reverse christmas tree order of declarations (i.e. longest to shortest line length) is part of the style guide?
catwell
on Aug 11, 2018
|
next
[ā]
I don't know in their case, but I know it's the style used by Hisham Muhammad (author of htop and LuaRocks among other things), and he explained why here:
https://hisham.hm/2018/06/16/when-listing-repeated-things-ma...
hinkley
on Aug 10, 2018
|
prev
[ā]
Iām wondering that too. What happens when a variable is initialized as a consequence of the state of two other variables (which would tend to be a longer statement)?
Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: