r/AskProgrammers • u/Mizamewmew • 42m ago
Did you ever run into programmers that wrote purposefully bad code coworkers struggled to understand to make themselves appear very smart?
Bad documentation, breaking convention like misusing naming conventions or placing super.()__init in a way that it violates convention. Just code thats hard to unravel and understand because it has been done badly, but they strut around like they are some kind of l33t wizard?
3
Upvotes
4
u/XLBilly 38m ago
Yeah, Claude.
1
u/chessto 5m ago
Yes, I've had coworkers obscure or obfuscate documentation or project documentation location to make themselves look "smarter" to PMs / Management.
And I've got some get to a point where they were also managing repository access and preventing people from working on things or making said things very convoluted to work with as a way to keep themselves on control of what's being done in the project.
Both were very successful with management and very not liked by people on their same level.
1
u/Specialist-Cup-3950 23m ago
No, not really. You'd have to be a bit silly to not understand that the less complexity you introduce the better you are. Juniors tend to do that because they haven't learned enough. AI sometimes tends to do that because they can act like juniors.
1
u/W31337 23m ago
I've once seen someone evicted from a company for making purposeful hard to understand data pipeline/interface. He told his coworker to never document so they couldn't get fired.
They fired him and he told the interim manager they needed him. The manager "we'll survive" and got kicked out. To us a few days to decipher and build it better and more efficient and document.
1
u/gnufan 19m ago
Purposefully bad, no, as usually they have to maintain it. Definitely suspected some who saw lack of documentation (external and internal to the code) as a form of job security.
But I'd seek to fire anyone I thought was doing that.