r/softwareengineer • • 1d ago • Mindblown 1

Claude .md documents, code comments etc.

I am just wondering whether other people have the same experience as me or whether what I'm experiencing is an artefact of my own skill level etc.

While it's undeniable that Claude (or other LLMs) can make code that works, the various explanatory documents it produces, when asked, are oftentimes unreadable.

One of the things that I've found it does is that it makes up its own nicknames for processes, its own weird counterintuitive variable names etc. Maybe these nicknames are utilised in some industry, but Claude didn't get those from my team.

Whenever I ask it to provide comments on the code, it produces a lot of bizarre sentences too that are unclear and misleading.

Getting into a discussion with it so that it explains to me what it means will sometimes lead to a nightmare back and forth that I need a lot of time and patience to understand.

I've also had this phenomenon where after reading a lot of Claude text output I get this weird 'brain freeze' where nothing makes sense to me anymore.

Weirdly I believe Claude is worse at writing text around the code (or in general) rather than the code itself. The code at least eventually works.

I think this is also true for text that doesn't have to do with coding. A colleague of mine produced a document that I'm pretty sure was Claude-heavy, regarding a business strategy, and terms within it were bizarre and made little sense (everyone in the company, including boss, were asking her what she meant).

Of course we know that all of its output is prompt sensitive but I think once you get into the discussion regarding the perfect prompt you might as well do things yourself

11 Upvotes

13 comments sorted by

9

u/RPBiohazard 1d ago

100%, my whole team hates reading docs it makes. Especially the nickname thing.

1

u/CarrotTraditional739 1d ago

That's great to know I'm not alone. I make sure everything I write is Claude -free so that people understand what I'm saying. Then I get Claude responses and I feel like I'm taking part in a world of NPCs.

Of course the next question would be, do we even need to understand code anymore - there's no question that I want to understand everything and have full control, but not sure with the speed of outputs we're asked to produce this is even possible

2

u/RPBiohazard 1d ago

Yeah I’m having a rough time with all of this but I do get some solace that it’s writing is shit people hate to read. I enjoy writing docs myself still.

1

u/CarrotTraditional739 1d ago

Yeah same. To argue against myself something got messed up in our data during migration and we absolutely had to understand what was going on. So we still kinda do

3

u/Free_Bullfrog_555 1d ago

The writing output is horrific, I experience the same brain freeze when presented with hundreds of lines of nonsense in explainers/docs/proposals etc. It doesn't matter how many rules I set about simple, human readable sentences, maximum sentences, jargon, dot points, step by step, etc it almost immediately reverts to garbled nonsense and I've started getting migraines every time I glance at my terminal.

That aside... I really enjoy writing quality documentation. I've made a rule for myself that every PR description must have a human written section at the top - much nicer for my colleagues and it also helps me to digest wtf I've just presented for review.

But omg don't get me started on DMs and responses written by Claude (or worse, Devin)

1

u/CarrotTraditional739 1d ago

Lol what is Devin ? New kid on the block... I googled the issue btw and the Google ai mode (ha...ha...ha) is telling me that if I tell Claude to use exact, literal names for people, tools, features and concepts and not to invent nicknames, labels, or shorthand, it will help.

This is making me wonder if I didn't 'prompt engineer' effectively enough (Ew).

But yeah, as I said I am glad I am not the only one with this experience. It's disgusting lol. Well done for writing documentation yourself.

I took 3-4 hours of my time yesterday to write report about an issue we had with data migration. My boss made my coworkers give out their opinion and at least one of them responded with Claude.

Coding is one thing but offloading the capacity to express yourself on that thing makes me worry

2

u/GrainyStateOfMind 1d ago

Absolutely, it’s horrible. I basically have a boilerplate spiel I give it that boils down to “Wtf is this? Give me the concise, TLDR, version of everything you just said” that generally makes it somewhat human-readable.

1

u/CarrotTraditional739 1d ago

Boilerplate command that de-slops the output sounds good, but for everything it outputs there's usually a different de-slopification that has to take place. I find myself arguing with it in circles often until nothing it says makes much sense.

I argued with it for a total of 5 hours trying to get it to explain to me what was the point of the second part of an AND condition. Turns out it wasn't necessary but it kept telling me it was necessary, hiding behind slop.

And that was Claude max ultra code

2

u/GrainyStateOfMind 1d ago

To be honest it sounds like there are bigger issues if you talked to Claude for 5hr over a single line of code

1

u/CarrotTraditional739 1d ago

Anxiety and deskilling

2

u/Equivalent-Wafer-812 1d ago

I see terms like: upstream, fail-closed. I mean, the objects and data comes from the same project, not another API. How that's upstream!!?

2

u/Wunjo26 1d ago

Oh my god I was literally ranting about this to my colleagues the other day! Claude totally does that shit and I find that it either gets worse as the day goes on or I just get more fatigued and notice it more. Either way, it seems like it makes up “nicknames” for things as a shortcut and it ends up being more taxing for the user because now you have to keep up with the mental mapping that’s going on rather than just referring to the actual thing at hand. It’s very validating knowing that I’m not alone and am not imagining this shit.

2

u/hex_longevity 1d ago

Gemini has this tendency too. It just loves to latch onto a semi-cute and totally unnecessary name for some part of your process or algorithm and promote the hell out of it. Seems to also have kind of a second-level, knock-on effect too: if you don't remove these before they acquire extra weight by being repeated here and there in your documentation, they gain a completely unearned primacy that can result in trivial stuff being eagerly included in summaries and digests where it should not belong.

Of course you can get it to agree, easily, that this is not a good look and that it ought to do otherwise. But never forget that every time you prompt it is brand new, that it's stateless and the only state is coming from your side, in the form of growing context. So you didn't get anything to "agree" about anything; you just succeeded in making a gesture that showed up in a particular type of mirror.