top | item 45246138

(no title)

Turskarama | 5 months ago

"Functions should always be short" is also one of those guidelines that people treat like a hard rule. There are occasions when a 100 line function is easier to read than 5 20 line functions, or god forbid 20 5 line functions.

Stop being overly dogmatic, it ALSO leads to worse code.

discuss

order

lenkite|5 months ago

There are occasions => There are only rare occasions.