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
-
@edw1o1 Just recently I read about some legacy code that has a single function with over 10k lines of code that uses include<> to import the code from 3 separate files.
Nothing surprises me anymore. -
C0D4681384y@edw1o1 I have projects I have to maintain with over 5k LOC per class 🤤
700 is child's play. -
Is it just me or is >700 lines way too large for a class?
Like I usually split things up at around 500 -
vortex47824yTHANK YOU!!
Believe it or not it was a class dealing with sql (orm) inside of a.. wait for it....framework
Class constructor defined on line 700+
😑 Really...
rant