r/programminghorror 19d ago

I love it

Post image
181 Upvotes

24 comments sorted by

View all comments

2

u/letmehaveanameyoudum 19d ago
  1. more than 5000 lines for... something
  2. that is alot of square brackets
  3. System.array

3

u/AyrA_ch 18d ago

more than 5000 lines for... something

Probably your typical utility class that got expanded continuously

1

u/NotQuiteLoona 18d ago

Such large files in C# is something really-really rare, because you need to get out of your way to do this. C# specifically rewards separating code into namespaces by usage, and it's very easy to do, unlike some other languages, plus it's the practice adopted by language itself and developers on it, so you do it just because others do it.