Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
askerr5609yHow can people go past 100? I usually keep it below 20-25 unless I have a switch statement or something but 1000 hurts my head
-
it defines inner functions that cannot be easily extracted because global state is everywhere. it can be done it's just a pain.
-
chrizzle7269yThe words "global state is everywhere" made me crash my car in to a tree with horror. And I wasn't in the car when I read it.
Good luck, +1 for the rant :) -
askerr5609y@hitripekac I feel your pain! Evidently someone didn't take "code as if the person maintaining your code is a violent psychopath that knows where you live" seriously
-
@askerr Average js file at my work is 2-3k lines... The only way of finding things is by doing a search all. :-s
Related Rants
Refactoring a 1000 line God awful js function. Why do people do this?
undefined
js