Hacker News new | past | comments | ask | show | jobs | submit login

You'll get used to reading diverse code in a fairly short time. "Coherent" and "easier to read" also has the downside of lowering the attention you have when reading the code, so you'll have a harder time catching obvious mistakes because "it looks correct".

And again, being against personal flair only makes sense if you are a manager trying to treat programmers interchangeably, but as a programmer, your interests are increasing personal flavour in code so you are less replaceable.




I was brought in to repair a codebase built by a programmer who wanted to make himself "less replaceable" for 4 years before he quit.

It took me 6 months to fully decode all his personal mnemonics, abbreviations, style decisions and bizarre architecture plans.

There were several times during that time when I considered trying to find him to tell him what I thought about him to his face.

You are going to be replaced at some point, unless you think this company is going to fold before you retire.


The real problem here is the lack of documentation though - like, if you use non-standard tooling or style or decisions, the burden should be on you to document them. Sounds like in this case this hasn't happened - which is really sad, but not much different from awful (but standards-conforming) codebases with zero documentation.

If he actually documented his abbreviations, mnemonics, style and architecture, you would have most likely appreciated it instead of cursing it, I think.


This is true, but if he had documented anything then he would have become significantly more replaceable.

So replaceable in fact that the company wouldn't have had to hire me at great expense and could have got a normal developer in to take over and continue.

Maybe I'm just extremely jaded since my job is fixing messes left by people with more style than sense but I see striving for uniqueness to be a flaw in an engineer.


Fair enough. But for him (and you) it worked out great! He got some job security, and you got a job by fixing the mess. If there wasn't a mess, you wouldn't have this job:)




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: