19
hitko
4y

God fucking dammit why are people so fucking lazy? A couple months ago I've had the intern refactor and organise this coworker's spaghetti code, and he did an excellent job, added type safety, etc.

I've took special care to explain it to this coworker that I understand he didn't have time to organise code and the intern took care of it, and to please keep it clean from now on.

Today I had to add a small feature to the same codebase, and every single thing that fucktard added from then on was crammed in the same file. And that guy's been here for 5 years already, I thought I don't have to triple check every single line he writes by now...

Comments
  • 3
    Our lead just left who was doing the same thing. It hurts the codebase way more then it helps. He was a nice guy, but totally didn't understand how you're supposed to organize projects and code.
  • 2
    @vomitmachine It's not all that bad, at least he's useful for one-time things, i.e. the stuff where we know won't be any codebase changes in the next couple years, so other devs can focus on more important things. But the way he screws up everything more important...
  • 2
    Sounds to me like he got totally scared of messing up the code base again so he kept it more "simple" this time ;]
  • 1
    @gw3n Hahaha right!
  • 1
    It doesn't matter how long you have been working. Some people just are blind and dumb, and there's nothing they can do about it. Sometimes you can even see the code quality just by looking at their desks. Bread crumbs, small plastic bags with some trash in them, dandruff and coffee stained old papers. They happily indent their code with 2, 3 or 4 spaces, sometimes no space at all. Maybe some tab characters here and there. Uppercase, lowercase, unused redundant variables left there (just in case you need them!). And never delete lines of code - just comment them out. And mark rest of the code with comments like "is this ok?". Obviously, they don't really comment anything else.

    I once had a guy who couldn commit to version control properly. Commit comments were mandatory, so he just made 20 releases with comment "updated code". No shit Sherlock? I am happy you didn't downgrade the code.
Add Comment