52

The horror when you see a 3000 line Java class - services, daos, tasks - everything in one file.

Comments
  • 1
    Hey man, singular flat files are cool. /s
  • 0
    @paralegalseagul that was cool probably in nineties. Now it just horror and frustration for the next guy.
  • 0
    a live example on torturing devs :S
    Good luck
  • 6
    that's nothing, we have a legacy code written by a "genius" - one class 10k lines of code, methods with over 800 lines each and he's proud saying "what? it's easier. everything is in one place" xD
  • 0
    @kargaroth wow. I'm sorry man.
  • 0
    @kargaroth please give me his address
  • 0
    oh boy...
  • 1
    In my first year of Computer Engineering, we had to create pong using Java and a game engine they gave us.
    So naturally I took it a step further and recreated the original Super Mario Bros.
    The code to draw Mario was 1000 lines long. I miss those days when I did things like spaghetti code and didn't think anything of it.
    Now I get anxiety if I have a C file with more than 200 lines non-commented.
    OH!
    That reminds me: In a later course I had to recreate qbert in assembly code, using ASCII codes. Ended up with nearly 20000 lines of assembly instructions (one instruction per line)
  • 0
    Wow! Cut off the head of the programmer.
  • 1
    Is that worse than a 10,000 line CSS file?
Add Comment