Am I the only one who thinks the JS community’s overuse of => functions is ruining source order? Old-fashioned function declarations FTW!
Conversation
Replying to
Guess they must be tired of writing out `function`. Not sure how much is gained vs `const =>` though… What do you mean by 'source order'?
Replying to
High-level fns at top of file, low-level implementation details below. Unhoisted consts force you to reverse that (e.g. render at the end).
1
2
Ah interesting. In most other langs I tend to do the opposite. Types up top, leaf functions middle, down to the roots at the bottom.
1
Show replies

