r/ProgrammerHumor • • Oct 07 '22

Meme Perfect situation

Post image
61.3k Upvotes

789 comments sorted by

4.5k

u/derLudo Oct 07 '22

Now you just need to get rehired as an external consultant to take care of the unmaintanable code earning double of what you earned before.

1.2k

u/UberWagen Oct 07 '22

That's the real strategy isn't it? Work at 3 or so places over the course of 2 years, develop trash code, then get hired as a consultant for all 3 and collect more money than all salaries combined?

553

u/RosarioPawson Oct 07 '22

Plus more vacation time.

→ More replies (63)

154

u/CaptainKangaroo33 Oct 07 '22

In defense of writing garbage code.

My code was 100 lines! It was beautiful!

Then they had constant meetings about changing it.

Now you have 1,000 lines.

→ More replies (29)

97

u/robkwittman Oct 07 '22

I’m in this post and I don’t like it

21

u/[deleted] Oct 07 '22

Shhhhh!!! Don't say it out loud

→ More replies (4)

189

u/Katana_sized_banana Oct 07 '22

I've seen this happen in real life. At some point my current company spend 100k every year for just in case something needed to be done. This went on for 10 years. The dude paid did almost nothing.

93

u/Tunro Oct 07 '22

Teach me his ways

→ More replies (7)

18

u/[deleted] Oct 07 '22

Is it possible to learn this power?

→ More replies (2)
→ More replies (6)

47

u/Smgt90 Oct 07 '22

Lol this happened where I used to work. An old man got laid off because he was too expensive and then he was rehired as a consultant (with a higher salary) because he was the only person who understood that shitty legacy system we had.

19

u/brianl047 Oct 07 '22

Could still end up cheaper for them in the long run

Avoids health insurance, pension, etc.

Still a bad idea and doesn't solve the problem permanently (what if he suddenly croaks)

→ More replies (2)
→ More replies (1)

56

u/gosh-darnit- Oct 07 '22

I believe that's my current colleague is aiming for. They got to choose freely what language to implement a critical infrastructure piece in, which turned out to be Haskell. What started as a small one-person job then turned into a multi-year one-person job.

In the place I live, there's exactly one developer with production experience in Haskell and it's the one working with us. Not a good strategy for a company that refuse to recruit non-locals despite allowing WFH.

17

u/Alekzcb Oct 07 '22

I have also learned Haskell in antipication of getting an opportunity like this

→ More replies (4)

15

u/[deleted] Oct 07 '22

Does this actually happen? I’m in the process of writing a legacy mining code base for my company and I HATE it but am tolerating it while the money is good

10

u/spudzy95 Oct 07 '22

No they will just hire a sucker like me that will just redesign everything from scratch for 3/4 of the salary the previous guy earned.

→ More replies (1)

7

u/gochomoe Oct 07 '22

Can confirm. A friend of mine got fired then they had to hire him back at 3x his salary as a contractor.

4

u/MrAcerbic Oct 07 '22

This is the way

→ More replies (73)

2.1k

u/rolandfoxx Oct 07 '22

Futureproof means nobody in the future can fix it.

420

u/[deleted] Oct 07 '22

futureproof against maintainability

→ More replies (1)

242

u/[deleted] Oct 07 '22

Reminds me of the legendary quote by Maestro Ken M:

If we don’t learn from the mistakes of our future, we’re doomed to repeat then for the first time.

Truly ahead of his time.

25

u/enjakuro Oct 07 '22

That's the ideal I personally strive for.

→ More replies (1)
→ More replies (2)

1.7k

u/Ok_Entertainment328 Oct 07 '22

Intern rewrites the entire thing

867

u/Tamsta-273C Oct 07 '22

The cycle stats over

200

u/ell0bo Oct 07 '22

Well, you really can make stats say anything

→ More replies (3)

17

u/[deleted] Oct 07 '22

Is this how you do things in Boston?

→ More replies (1)

124

u/Admiwart Oct 07 '22

It is the cycle of programming.

66

u/sanderd17 Oct 07 '22

Until something just works, and doesn't get touched for the next decade.

→ More replies (9)

9

u/oupablo Oct 07 '22

This is a subcycle that happens within though that goes like this:

Encounters problem -> searches for library -> doesn't find library -> cries -> tries to ignore problem -> finally creates solution -> release -> encounters problem with solution -> start over

→ More replies (4)

36

u/oupablo Oct 07 '22

In the end, no code is maintainable because the new dev is always a genius and the old dev is always an idiot. And when it comes to interns, there is nobody that thinks they know more.

11

u/CuFFaz Oct 07 '22

Also the internship is Unpaid

→ More replies (16)

498

u/PowermanFriendship Oct 07 '22

About 15 years ago I worked in the support department for a place that had a web app product. At some point, they offered "hands-on internal development training" and I was young and hungry so I signed up. I wasn't really aware of all the internal company politics at the time, but shortly after the first session started, I learned that all the original devs had been European and now they were gone. The database names were in Icelandic. The application was written in Delphi. Every single variable was simply named "o" or some permutation of "o" (o1, olist, etc...).

Needless to say, we made it about 3 sessions before everyone gave up on the idea. In the end they just paid some exorbitant contracting sum to one of the ex-devs to fix stuff.

40

u/EddieWolfunny Oct 07 '22

The application was written in Delphi

Say no more, we all feel you pain.

My company works with Web and Delphi, I don't need to explain how Delphi 6 is not friendly to changes in a giant 20 yo software that deals with cash.

23

u/CreatureWarrior Oct 07 '22

Reminds me of the Tower of Babel story lol

13

u/[deleted] Oct 07 '22

Oh man. Delphi. I haven't worked with it for about 4 years, but I had nearly 20 years into it. Anything still in Delphi at this point, is a complete career death. Shoot, this was true around 2007 too. When I interview now, Pascal is literally a unknown language, while it used to be the teaching language, any dev under 40 has probably never used it. Sad. But I think we saw what proprietary languages with locked in ecosystems provide over time.

→ More replies (5)
→ More replies (9)

524

u/HrabiaVulpes Oct 07 '22

Got hired by company.

Code unmaintainable, entire process expected that my predecessor will never leave company.

Fixed most of it, but got blaimed for every problem I couldn't explain to non-techie people.

Leaving company after 7 months, my shortest job hop.

4

u/[deleted] Oct 07 '22

I was hired as the second engineer on this current team. The other guy had been there for years and had extensive tribal knowledge of the whole system. He left after I'd been here two months. It's been... interesting.

→ More replies (1)

0

u/[deleted] Oct 07 '22

[deleted]

49

u/EthosPathosLegos Oct 07 '22

The smart people own the dumb people. Always has been, always will be.

→ More replies (3)
→ More replies (3)

631

u/LordMerdifex Oct 07 '22 edited Oct 07 '22

I have a worse one:

Writes unmaintainable code.

Becomes your boss, orders you to implement a new feature and keeps asking why it takes so long.

258

u/invalidConsciousness Oct 07 '22

At least my boss knows his code is trash.

98

u/[deleted] Oct 07 '22

Had a boss that changed coding style every time he learned a new way to do it. Perl shop.

→ More replies (17)
→ More replies (4)

14

u/PleasantAdvertising Oct 07 '22

Ugh the lead developer barely had a few years on me and didn't know the meaning of best practices. Everything was done his custom way. Debugging stuff required internal knowledge of some tools...

10

u/samspot Oct 07 '22

This happened to me! Boss wanted me to learn the codebase and implement survey cloning on the same day. I made the deadline … and broke production. This event was a prominent feature in the written warning I refused to sign.

7

u/lorl3ss Oct 07 '22

Oh jesus

6

u/brianl047 Oct 07 '22

I hesitate to "make my own shit" because of this

I know I could build something amazing, have it make money and hire programmers to upgrade it

But what kind of hell would I be subjecting them to? Lol

9

u/Dizzfizz Oct 07 '22

Yes, THIS is the reason why I‘ve turned none of my projects into successful companies yet.

→ More replies (13)

101

u/[deleted] Oct 07 '22

Ah the legendary brogrammer

15

u/[deleted] Oct 07 '22

Meme is perfect, he even has a macbook.

Enter balding guy with a tshirt with a fat gaming laptop with ubuntu server and M$ dual boot.

"Ahh yes, I've been here before"

→ More replies (3)

99

u/[deleted] Oct 07 '22

Takes passwords and 2fa with him.

22

u/dada11dada22 Oct 07 '22

That's more company/bosses incompetence if they didn't plan for that.

89

u/Katana_sized_banana Oct 07 '22

The real reason devs switch at least every three years.

56

u/isotopes_ftw Oct 07 '22

I think a lot of companies actually create this behavior:

  1. Don't promote internally or won't pay you as much as the person with your skills who they're hiring.

  2. Recognize people for writing shiny, new things, but not for maintaining products that make money.

35

u/WileEPeyote Oct 07 '22

Recognize people for writing shiny, new things, but not for maintaining products that make money.

I hate this so much and it's rampant.

→ More replies (1)

9

u/[deleted] Oct 07 '22

Truth

138

u/NicNoletree Oct 07 '22

From some perspective it's all unmaintainable

55

u/Own-Jackfruit-2557 Oct 07 '22

that someone is me

26

u/M4hkn0 Oct 07 '22

Nah... there is a reason some companies still use COBOL... yes COBOL. It is maintainable because it is readable. The pressure to move away from COBOL is immense but they hold fast.

24

u/fgben Oct 07 '22

I would argue that it's not because it's readable (which is only true if you know COBOL), but because these systems are demonstrably stable since they've been running for fifty years now.

Who's going to make the call to replace critical infrastructure like that with a program written in a language that's not as proven written by kids born after the last major RC?

19

u/frankyseven Oct 07 '22

COBAL is also stupid fast. So much critical finance infrastructure is built on COBAL, it's never going anywhere.

→ More replies (2)
→ More replies (1)

29

u/[deleted] Oct 07 '22

Comes back as a consultant and gets paid 3x more.

106

u/Comm4nd0 Oct 07 '22

I don't give consent for the use of my image. Mods please remove.

28

u/henewastaken Oct 07 '22 edited Oct 07 '22

1.Write spaghetti code. 2.Get fired due to layoffs. 3.Go work for a consultant house. 4.Get paid alot more. 5.End up working on the same project. 6.Profit

Edit: typos

23

u/ruedogg Oct 07 '22

We have some legacy API endpoints that our architect cites as "this is why you don't 'code' for your resume". The devs that did the work used a bunch on new/cool/shwifty/groovy/{insert your own adjective} frameworks, ideas, and technologies that were different than what our core product was built upon.

Years later, the devs are all gone, it's a nightmare to setup locally - much less code against - and none of the frameworks and technologies they used at the time are even remotely relevant today.

19

u/brianl047 Oct 07 '22

Picking the technology is definitely a minefield

Anyone who picked AngularJS (not the same as the Angular rewrite, as if anyone who's not a programmer would care which is part of the problem) is utterly fucked for example

11

u/ruedogg Oct 07 '22 edited Oct 07 '22

HAHAHAHA it's funny you say that. Another example (not my original comment), at my old company they decided to re-write the enterprise application's frontend using AngularJS. A couple years in, Angular came along and the architect rejected the migration conversations saying it won't stick.

→ More replies (1)

9

u/dekacube Oct 07 '22

Yeah, where I work they call it resume driven development, and thats how we got stuck using apache thrift.

→ More replies (1)

22

u/cowardlydragon Oct 07 '22

I dare people to post code they have written and consider "good".

It will get torn to shreds.

The reality is that all code is bad, it's just different degrees of bad.

12

u/CheeseyB0b Oct 07 '22

Any code will be open to nitpicks, sure. Hell, post any code here and people will tear it apart just for the language it's written in. But there is a categorical difference between code which people could argue can be improved and aneurysm-inducing garbage like

  • Misleading function names. E.g. "isSomething" (doesn't return a boolean and does a bunch of unrelated processing).

  • Misleading class names. E.g. "ErrorResponse" (also used for non-error responses).

  • Dead code and large amounts of commented-out code.

  • Literally thousands of compiler warnings because if it's not an error then it's not a problem right?

  • Zombie code. E.g. a function which has a bunch of code and looks like it's doing something, but when you read through it closely you find it literally does nothing.

  • Duplicated code. E.g. copy-pasting the nav-bar implementation into every single screen in the app separately.

  • Actual garbage. E.g. using a byte-stream and a buffer and a string-builder and two nested try-catch blocks to get the payload of a http response when the library you used has a .string() function which achieves the same thing ...copy-pasted 6 times in a >10-level deep mess of nested listeners and callbacks.

Some of us have to deal with this shit every day and just need to vent.

21

u/[deleted] Oct 07 '22

I posted this meme in ours teams group chat on my last day

20

u/M4hkn0 Oct 07 '22

Worked next to four guys who maintained a forty year old proprietary database that was absolutely critical to the company. Only they knew how to maintain it, read it, and update it. They refused to teach anyone else. These guys worked four days a week and basically day traded on company time in between when they needed to make updates. Absolute job security.

0

u/[deleted] Oct 07 '22

[deleted]

→ More replies (1)

20

u/FlaAirborne Oct 07 '22

I’ve made a career cleaning up after these guys.

4

u/xaculite Oct 07 '22

The real legend

15

u/Kvanshi Oct 07 '22

You forgot! He also Gets a 30% hike in the next company!

13

u/henkdepotvjis Oct 07 '22

How to go down as a legend.

13

u/Low_Abrocoma_1514 Oct 07 '22

The more I learn about coding the more I realize programmers are just like the mechanicus from 40k

5

u/Illustrious-Ad-2255 Oct 07 '22

The Omnissiah guides

12

u/danglesReet Oct 07 '22

A rolemodel for all of us

60

u/FlyCodeHQ Oct 07 '22

Isn't that what every programmer does?

139

u/Rostifur Oct 07 '22

Nope. I write unmaintainable code and stay.

37

u/FlyCodeHQ Oct 07 '22

No one else would be ready to join the company because of the unmaintainable code so they have no options left other than paying you. Smart move!!

→ More replies (11)
→ More replies (4)
→ More replies (1)

18

u/bigdogsrus Oct 07 '22

Job security bitches. if you write good code it will eventually put you out of work.

5

u/WhotheHellkn0ws Oct 07 '22

How do you learn to write good code

→ More replies (3)

9

u/[deleted] Oct 07 '22

This creates jobs for next developers. He did a good thing for the economy, lol

8

u/[deleted] Oct 07 '22

I have done this. I am not proud.

8

u/Smgt90 Oct 07 '22

I did this a year ago and they haven't been able to fix it.

→ More replies (2)

7

u/slibetah Oct 07 '22

This is the way.

7

u/OldeFortran77 Oct 07 '22

"Resume driven development is bad" is a talk I attended. Using the newest, hottest stuff means you're helping beta test, and the programmer who put you on that path is planning on leaving anyway.

7

u/UnderstandingOk2647 Oct 07 '22

Me - Writes brilliant code, leaves, comes back 10 years later - OMG you still using this shit!?

7

u/OgOnetee Oct 07 '22

Have you tried maintaining it and unmaintaining it again?

17

u/[deleted] Oct 07 '22

This is exactly what corporations deserve

5

u/AerysSk Oct 07 '22

Perfect strategy for salary bump

5

u/captonmike Oct 07 '22

10x baby!

5

u/bigredthesnorer Oct 07 '22

Another word for unmaintainable code is "elegant", as least according to the developer.

5

u/BlackMarketUpgrade Oct 07 '22

I'm a mechanic for a fleet and this rings so true. What's funny is everyone blames the guy that got fired for any mistakes lol. Someone forgot to torque a nut, blame it on the guy that doesn't work here anymore lmfao.

5

u/ostensebus Oct 07 '22

Government IT contractors in a nutshell

5

u/[deleted] Oct 07 '22

My favorite are short term contractors on project teams with no oversight by IT, undoubtedly brought on by the CIO after a particularly nice dinner, or something.

5

u/Webhoard Oct 07 '22

I did this.

I was an independent contractor tasked to market commercial properties. Paperwork I signed basically said I own my own IP; company reaps rewards - same deal brokers got. I made some apps to make my life easier / never intended to be maintained by anyone else. Boss man got nervous because my work was going really well but he figured out he would be SOL if I left. He put a keyboard logger on a computer I used - got the credentials to access my code and then sent me packing. Six months later, things weren't running so smoothly. I don't regret it.

8

u/Frogtarius Oct 07 '22

Write crappy code. Then obfuscate it to oblivion.

4

u/gp57 Oct 07 '22

The idea is to write unmaintainable code so you're the only one that understands it, which makes your job secure.

4

u/TheKingOfSwing777 Oct 07 '22

That’s why they pay me the big bucks

4

u/AtomicBreweries Oct 07 '22

Or in the case of my org. Writes unmaintainable code. Gets fired.

4

u/[deleted] Oct 07 '22

When you don't get a raise.

4

u/AlexMTBDude Oct 07 '22

Not sure if this falls under programmerhumor as I've been the next guy in line after this type of person and it's no fun at all :(

4

u/ScrewAttackThis Oct 07 '22

In my experience they stay and keep writing unmaintainable code. Of course they become a go-to for answering how everything works and that gets confused with competency.

7

u/VinCubed Oct 07 '22

For the past nearly forty years of my career I've been told to comment more and my usual answer is "If I need to remember what's going on somewhere, I'll throw a comment in... otherwise I know what I'm doing". Of course, they bring up "but what if you get hit by a bus?"... the answer is "I'll be dead and don't care if the code is readable"

6

u/[deleted] Oct 07 '22

Bosses don't understand the difference between good and bad code. It not there job to fix it.

5

u/tiajuanat Oct 07 '22

A lot of engineering managers are former engineers themselves.

Many times it's the pressure from above them that makes us take shortcuts. If your manager doesn't have the chutzpah to push back and include maintenance/clean up of the system in their standard work, this is inevitably what happens.

6

u/Elly_4U Oct 07 '22

//good luck lol

3

u/clemdemort Oct 07 '22

Bruh that's my dad's pfp from ten years ago, where did you find this

3

u/[deleted] Oct 07 '22

this is the mfin way ppl! you think b2b SaaS is bettering society? time to get yours and put in as little work as you can. let’s get this bread folks!!

3

u/Carburetors_are_evil Oct 07 '22

I code in C# and honestly don't understand how the code could be unreadable. Like: IActionResult ProductsLibrary puts output from _apiConnector.GetAllProducts() into a viewmodel and passes that into it's View.

Sure there are some Linqs and foreaches and stuff, but it's pretty well readable.

What kind of code would you consider to be hard to read?

3

u/darkol_2020 Oct 07 '22

The story of my life! When comedy is worse than real life....

3

u/[deleted] Oct 07 '22

Joke aside, won't this give you a bad rep for the next time you apply for a job?

6

u/vasametropolis Oct 07 '22 edited Oct 07 '22

Lol no. The new job can never know and you can choose your own references. I've seen this multiple times where someone will crank something out as shitty and fast as possible, get high fives from management, then leave for more money because they claim to have delivered huge value.

The worst part is that the management don't know whether to trust the person that delivered quickly, or the slower and more methodical people that are now complaining about being stuck with it. They generally side with the former and think that person was a 10x and everyone else is stupid.

The general rule I have for knowing the difference: If it was delivered in record time and the person does not also work through the night, it's garbage.

Some programmers will actually haul ass and work nights because their productivity is better. I honestly trust them more in this instance because they understand the effort it actually takes to finish something of quality in a short time frame - you literally need more hours in the day.

The rule is flawed, but just remember 10x is very rare. So the idea that one is working with you is about zero. Faster is worse 99.99% of the time. They are not Seniors - they are expert beginners, and they're fucking morons.

3

u/technobrendo Oct 07 '22

Let me read his documentation,

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor

GOD DAMNIT

3

u/Brilliant-Damage5065 Oct 07 '22

Not quite programming but related story.
Me before leaving company for underpaid team leader position, waiting for never coming pay rise. Checked whole stock in my department and adjusted it in system to correct locations.
Next sending my resign and leaving company same day. Department getting closed after 2 weeks.
Some people I know who still been working there said later management said that department were unmanageable after 😂

3

u/pmjwhelan Oct 07 '22

I feel seen.

3

u/j1xwnbsr Oct 07 '22

Literally going through this right now. Lots and lots of "what the fuck?", "how does this work?" and more importantly, "why does this work?"

3

u/Adrunkopossem Oct 07 '22

I was told I did this as I left no comments. In a program that was 6 lines of code 🙄 (Digital billboard)

→ More replies (1)

3

u/[deleted] Oct 07 '22

Then there's me who stayed and inherited the batshit crazy codebase. This will be the biggest refactor I've ever done.

3

u/slibetah Oct 07 '22 edited Oct 07 '22

I had a gig where they wanted me to maintain/fix Sugar CRM in php (php 5!!!) I told them it was absolute shit (me actually screaming that at them) and that they needed to get a subscription CRM. It was a startup that also owned a large car dealership... the CRM had nothing to do with the startup. They just figured I would happily work extra to support an unsupportable app.

They took my advice.... because I blew up and they knew I would walk. I am not the type to blow up.... but that shit made me lose it because it was causing much overtime without extra pay.

3

u/jvlomax Oct 07 '22

Always write code like the person who is going to maintain it after you is a psychopathic axe murderer

3

u/Socratov Oct 07 '22

Been there, done that, but not for a lack of trying to transfer my skills and knowledge.

3

u/Lanbaz Oct 07 '22

Is the code encrypted and only brogrammer knows the private key?

3

u/[deleted] Oct 07 '22

You forgot:

Changes the server password before leaving

3

u/Cee_U_Next_Tuesday Oct 07 '22

Parts of the code now exist in nearly every employees work because they were told to work off his code.

3

u/ImmortalDayMan Oct 07 '22

Force push all API keys to master on their last day. Leaves

3

u/Splatoonkindaguy Oct 07 '22

Implements partial rewrites to make the code base worse over 6 months. Sprinkle in important code. Leave company. Now they are left with a code base they can’t roll back

3

u/coolandsmartrr Oct 07 '22

Don't they conduct code reviews to make sure code remains maintainable?

5

u/vasametropolis Oct 07 '22

It's often a "Senior" chosen to lead a project that is this person - so nobody questions them.

→ More replies (1)

3

u/JimmyBin3D Oct 07 '22

Now make it a consultant who never worked at the company in the first place, and left their unmaintainable, undocumented code for the employees to deal with.

3

u/DMK1998 Oct 07 '22

He is simply creating jobs for the company. It’s an act of altruism if you think about it. Now 4 interns will be hired to fix his code, giving them experience and a better resume. Unsung hero 🫡

3

u/capt_kocra Oct 07 '22

Third party supplier did this. The stuff they created is all written differently, so no consistency. Then put in the long term support contract which I said no to signing until they deliver. One issue later that I resolved our new CIO panic signed it, at 69k a year no penalties for lack of service, which led to the third party have slept through 3 P1's...

3

u/abc_744 Oct 07 '22

I had so many colleagues like that during my short career as a software developer 😂

→ More replies (1)

3

u/General-Gur2053 Oct 07 '22

Hey! I didnt give you permission to use my likeness or work philosophy for this meme

3

u/Linkums Oct 07 '22 edited Oct 08 '22

Oh man, we had that guy. He even wore his cap backwards. Fortunately we had him write up documentation and comments as much as possible for a couple weeks in advance when we realized he was on his way out. I'm sure it was a tough decision between that and just having him leave immediately.

3

u/2Bits4Byte Oct 07 '22

Management, "Any code is manageable, if you just copy paste it to other services"

Architect, "We don't believe in creating libraries, since that would make a coupling between the applications. Any application should be able to change on their own. So, just copy the same code between the different applications."

3

u/riesendulli Oct 07 '22 edited Oct 07 '22

Boss gets a dollar

I get a dime

That’s why my code is spaghetti

everytime

3

u/[deleted] Oct 07 '22

This is a retention issue. Don't blame the worker. Not his fault the business was too stupid to realize this could happen.

3

u/GopnikChillin Oct 07 '22

My dad did this in the early 90s. He was the head of the department, company was going south, he was expensive, some lesser quality gents werent. So he made it so no one could run it but him, when he was laid off. He told no one how to run it.

3

u/TheMeccaNYC Oct 07 '22

My past 2 weeks have been fun (hell)

3

u/Imaphatkid Oct 07 '22

Ah I see you work at activision

3

u/[deleted] Oct 07 '22

My favorite tech history fuck up: hiring a freelancer who cuts all ties with you after writing unmaintainable code with no documentation making it a nightmare for other programmers to try and fix later, and the original programmer refuses to work on it again

3

u/enjakuro Oct 07 '22

Hmmmmmmm well my boss doesn't read my code anyways

3

u/AndyTheSane Oct 07 '22

I left my last place after 21 years.

4200 working days (approx) * 20 lines/day (also approx) = 84000 lines of code.. (give or take).

I'm sure it's all perfectly maintainable.

3

u/mopsyd Oct 07 '22

The entire middle era of my career was chasing this guy with a mop

3

u/AaronTheElite007 Oct 07 '22

Bonus points if it’s the core of that company’s infrastructure. You get contractor fees later on

3

u/geeknintrovert Oct 07 '22

so this is what influencer-recruiter mean by saying - "be irreplaceable"

3

u/Chill_Preguica Oct 07 '22

A friend of mine did that because his boss was a jerk to him

3

u/IlyClem Oct 07 '22

It’s so amazing that you can have the power to topple giant corps if you so choose, it’s lovely

3

u/MagusUnion Oct 07 '22

Just a little praxis, comrade.

2

u/Glaringsoul Oct 07 '22

Or you just make it so that it’s completely unnavigable because you don’t name stuff but assign number letter combinations to everything and never hand out the index…

2

u/Feracon Oct 07 '22

"It should work."

2

u/MacsBicycle Oct 07 '22

The people that bounce every 12-24 months and recite buzzwords they use in interviews a lot. We all have met a few.

2

u/PhantomNomad Oct 07 '22

I did this at my last job. 250,000 lines of unreadable code. Plus all the stored procedures in MSSQL which is around 500,000 lines. Man that code was horrible. They hired 5 guys to fill my position, 3 were tasked to maintain and write new procedures for it. They ended up writing it from scratch after 3 months.

They paid me 24K a year and was the only developer for 5 years. I repeatedly asked for help and a raise which was denied. So they got bad code and I found another job that tripled my pay and I don't have to code any more unless I want to write a shell script.

2

u/PrizeFun1068 Oct 07 '22

Dennis Nedry in Jurassic Park

2

u/quesnt Oct 07 '22

This seems like a personal attack against me. In my defense, they had shit coffee in the break room, its their fault I gave up on quality code.

2

u/mastermikeyboy Oct 07 '22

"Management forced him to write unmaintainable code by setting impossible deadlines. He burns out and leaves the company"

2

u/[deleted] Oct 07 '22

Or my favorite: Introduces 3rd party software and packages instead of learning existing system. Leaves.

It’s even worse when we hire contractors that we only use a dozen times each.

Now the onboarding and technical debt is even larger. Guess we’ll just have to hire a consulting team to rewrite everything within a single framework (for multi year $10m+ contract).

2

u/fullofcrunch Oct 07 '22

Worst dev lead I ever worked with:

Wrote a state management library because nothing could keep up with our frontend's speed!

No documentation.

No comments.

Variables are all shorthand.

Good code is self-documenting!

Took 4 months to finish.

Endless time spent afterwards fixing quirks in library.

Quit after nth stress headache.

I inherit.

Replace with MobX in 4 weeks. Silent rollout. No one notices.

2

u/Rainbow-Death Oct 07 '22

Yo, how many times have you seen this, and then they hire someone else to “fix” the code because they think it’s cheaper to “re use than to start from scratch…” and like 7 sprints in they have to hire another dev lol.

2

u/airsoftshowoffs Oct 07 '22

That's what people use to do to get callbacks for contract work ;P

2

u/Vimalraj571 Oct 07 '22

I used the stones to destroy the stones

2

u/savex13 Oct 07 '22
  • writing code - $X per hour

  • above + comments - $X*2 per hour

  • above + understandable coding style standards - $X*3

  • above + convenient variable names = $X^2

2

u/praventz Oct 07 '22

This reminds me of a person at my company who has since left. Everyone likes to say "oh X, he built this company!". Yeah he also wrote an unmaintainable code base which could be the reason the company goes under.

2

u/xxaradxx Oct 07 '22

This is gold 🥇

2

u/[deleted] Oct 07 '22

You meme, but this is a reality. I've witnessed such a creature; had to navigate the resulting spaghetti.

2

u/sunrrat Oct 07 '22

Chad Brosky

2

u/alpharesi Oct 07 '22

Write everything leetcode style even if the component is already existing . Example is write paging yourself instead of using existing grid components. And write it using various ways with different solutions for every page very much like leetcode.

2

u/RaLaZa Oct 07 '22

My code is practically encrypted

2

u/GoogleIsYourFrenemy Oct 07 '22

I've been telling them for years they need to code review my work.

2

u/srussell705 Oct 07 '22

Isn't that every former programmer?

Now when you find the comments:

// Don't mess with this, not sure why but it works

2

u/Taengoosundies Oct 07 '22

This happened in a company I worked for back in the dark ages. We had a Unix system that ran everything in the company. There was a single admin who had been there since the system was installed and if anyone remembers Unix it is highly customizable.

Guy bolted with no notice, and nobody else in the company knew anything about his system. Since I had shown some computer aptitude they decided I would be the lucky fuck to try to figure his system out.

So I got a Unix for dummies book (seriously) and tried to figure out this guy's system. After about an hour I raised the white flag because what he had done was completely unintelligible.

They ended up with an outside contractor who had to almost completely rewrite the entire system.

2

u/[deleted] Oct 07 '22

Companys fault for not having proper code review

2

u/alpharesi Oct 07 '22

Anyone here feel the same way that as soon as you come in new to a company , you see the fear in the other developer's eyes? Like you gonna discover the crime they did?

2

u/BloxSummons Oct 07 '22

I immediately thought of Shedletsky from Roblox lol

2

u/alpharesi Oct 07 '22

That is why there are always demand for developers.

First batch of developers start a project new. Mess code up. Quits and moves to another company

2nd batch gets hired to maintain and add new features to code. Can't understand the mess. Start patching things up , created 6 bugs for every feature release. 6 months later the application becomes one big pile of mess . Because of this , company decided to fire them and hires...

3rd batch of developers . They will live to tell the tale of how the company went bankrupt

2

u/hotstickywaffle Oct 07 '22

I've always wondered if there's any truth to the story of the guy who got a job at a company who's product he used, fixed a bug that had been bothering him for a long time, and then immediately gave 2 weeks notice.

2

u/eggshellinhell Oct 07 '22

Better yet, convince leadership that you're a genius and your coworkers are idiots. Leave. Wait for the panic. Then announce your availability as a contractor.

Perfect.

2

u/emeraldbutonreddit Oct 07 '22

Probably what working at valve feels like

2

u/Jerrybear16 Oct 07 '22

The only comments are random blocks of code commented out at random

2

u/wardplaced Oct 07 '22

"my father will keep this company alive" you shall have 'nice' jobs in the meanwhile doing less than nothing sitting around waiting for a heart attack... what? you dont want that? huh? fulfillment? have some more money! MORE MONEY FOR EVERYBODY!

2

u/Spiritual-Image7125 Oct 07 '22

I know this guy!

Well, sometimes it is me. Other times it is someone from another country who has no care of how to document anything. Yeah, I work with people from all over the world... great people in relationship, but not the best at standardizing code.

2

u/[deleted] Oct 07 '22

When the employer says you’re replaceable!!!

Me: Good luck with that!

2

u/AnInfiniteArc Oct 07 '22

I’m not a programmer. I mean, I dabble. The fact that I casually wrote a 2,300 line VBA program to automate the tracking and reporting part of integrated testing doesn’t make me a programmer.

And it certainly doesn’t make my code good.

I am self-conscious enough that it keeps me seeking a better job.

2

u/SatansLeftZelenskyy Oct 07 '22

If your fucking code is 'unmaintainable' you can fucking write code.

2

u/[deleted] Oct 07 '22

Chad moment

2

u/simplyjessi Oct 07 '22

A previous colleague literally told me after he was newly hired "I write code so I can't be fired" when discussing his personal projects, and then a few years later he quit via text.

Good times. Just good times all around. Weeding through his code was insane, but there's only one project left that he's touched and its currently too big for me to just slowly rewrite for our schedule.

2

u/JaxC7 Oct 07 '22

I think we've all worked with the stereotypical "brogrammer". This meme pretty much sums it right up!

2

u/S3ND0G Oct 07 '22

And if you take his/her job, every bug in the code left behind will be your fault until you leave the company, my life right now 😅

2

u/terransLoc Oct 07 '22

was part of a team, nightmerish develpment, unmaintable code some of it written by autistic chinnese deverlopers ( true story) .. company have had tried to remove the now arcade system.. several teams consultants have tried, even develping it from scratch... they cant.

so i collect my salary by doing mostly nothing.

2

u/dtrippsb Oct 07 '22

I was pissed at people that did this at my last job because I had to fix or refactor a lot of it. Then when I left I got a message from an old coworker asking me about some shitty undocumented code that I wrote. Oops

2

u/demunted Oct 07 '22

No the real pros sell it to some rube. Then the buyer runs back to his team of devs to monetize it quickly, only realizing it was one large procedural PHP file that only works on php6.....

2

u/user_namec_hecks_out Oct 07 '22

Delivering unmaintainable code should not be an issue with PRs and tests. If this were to happen, I say it's not the employee's fault.

→ More replies (1)

2

u/Scooter_127 Oct 07 '22

Had a guy on my team like that. After he left he told people there was no way my department would continue to function without him.

When looking at his code step 1 was to format it. He rarely, and I mean RARELY indented, and even then it was never consistent. The mere act of spending an hour adding proper indentation revealed a shit ton of GLARING bugs in his code lol.

Comments? He didn't need no stinkin' comments other than his classic "#This is where the magic happens." You connected to a database and derived some data out of the fields? HOLY FUCK, HOW DID YOU DO THAT! FOR A SECOND I THOUGHT I WAS LOOKING AT DAVID COPPERFIELD'S WORK! ARE YOU A WIZARD?

2

u/Jaymageck Oct 07 '22

I had to write a hacky Android-specific version of a feature that worked differently on iOS. It involved a few android APIs that felt likely to change in the future. I commented the shit out of it.

Later that client came back to my employer and asked for me back, and I'm 95% sure it's because that feature broke with an Android update and they wanted me to try to make it work again.

Anyway my employer said I was booked on something else...

2

u/Alh840001 Oct 07 '22

...for a better job with more money.