DEV Community

[Comment from a deleted post]
Collapse
 
realshadow profile image
Lukáš Homza

I am not a style nazi (at least not anymore), my time in open source helped to see and adapt to various styles. So when I came here, I did not enforce my style on them, but rather adapted the style from the way others wrote code - to get as close to possible to their style. I think this is more beneficial than enforcing concrete standards.

But believe me, sometimes I would rather scratch my eyes out than look at some of the atrocities I have seen in my career - e.g. one of my favorites - 20k lines long controller method that is one giant loop with nested loops

Collapse
 
alephnaught2tog profile image
Max Cerrina

20k line METHOD? I mean for most anything that would be a ton but holy shit.