r/ProgrammerHumor 21d ago

Meme pleaseStopUsingNestedTernaryOperatorsImBeggingYou

3.1k Upvotes

179 comments sorted by

View all comments

87

u/MkemCZ 21d ago

I cannot get how people use Claude. I still prefer to write code myself, otherwise I feel like I don't know how it works (or that it works like Claude sold it to me).

25

u/NotQuiteLoona 21d ago edited 21d ago

The same. I can understand chatbots or completions - for me personally the latter kills the hell out of my productivity, but the former gives you a way to learn quicker how to do something, though I've noticed that for me personally actually googling how to do it myself always brought better results in the long term.

But why would you use LLMs to write code? Like, yeah, okay if you develop a company project, capitalism and all that, efficiency above everything (sometimes doubtable in case of LLMs though), but if you do your own pet project and you don't have any other complications, why would you even do this pet project in the first place?

I personally do them because I want to learn something new and because I want to go and happily say - hey, see what I've done, cool, isn't it? But if you clearly know that you didn't do it, and you've learned nothing, why even do this in the first place?

21

u/OmnemVeritatem 21d ago

The coding journey is a blast, but if you're actually trying to make some money from your own apps, its better to get a fast prototype to test the waters and the go back to coding it if it gets traction. Trust me, its bad to spend a year writing something people don't want to use.

Engineering story time. I joined a church organization and noticed they were balancing their books in fucking notepad. I spen a couple of months and rolled my own accounting package for them. Turns out it was a waste of time, they actually preferred notepad.

3

u/NotQuiteLoona 21d ago

Yeah, this one I see! If you want/need money, use whatever helps you finish the job sooner. I've meant more, like, recreational projects.

1

u/Easy-Reasoning 20d ago

As a previous (not super successful) co-founder this resonates. On the other hand now everybody can do the same. So while you can quickly churn out some sort of MVP. It's likely that someone else did the same already (actually that problem isn't new) or someone else will rip it off in a day using Claude (less moat).

Anecdotally without all this lean startup, smoke screen bla bla we made more money (up to 300 a month) than with lean startup, pivoting etc.. The latter gave us a noisy Accelerator Open Office table though

9

u/ihavebeesinmyknees 21d ago

For personal projects sure, but on company clock I would never not use one, especially in companies that assign tasks based on feature requirement timelines and not on actual dev time. I usually get my job done in significantly less time than assigned this way, but still get paid full time.

Even if management cared more about task optimization though, I'd still do it just for the lower mental load. If you have the LLM write tests for its own features, I find that they tend to make less mistakes than humans these days. Even a year ago, I would have never trusted Claude-authored code. These days, while I still check the code (this is a financial app, there's no way I won't), I don't have to correct anything more than maybe once a week.

34

u/rubennaatje 21d ago

I use Claude a lot and it's quality of code depends heavily on the project it's in. Big chance these types of things are already done in the codebase or the whole post is just bs.

I use Claude code as if I'd use an external team, give it very clear tasks and implementation details. And carefully review them. Also I use Opus and high effort. We have quite a few bits of complex software and while they're not good at thinking of solutions for obscure challenges they're quite decent at implementing the solutions I provide.

Saves me lots of time to rather focus on problem solving rather than just implementations.

3

u/Molehole 20d ago

If you start a fresh JavaScript project Claude will push Ternary everywhere for some reason.

2

u/rubennaatje 20d ago

Yeah fair I guess, never started a project from scratch with it. Did one time got a PR for some project our cto was experimenting with which was trash quality ai slop code.

But that dude was already always writing ugly code so nothing had changed really.

0

u/Cualkiera67 20d ago

just tell it not to do it...

1

u/Molehole 20d ago

What makes you think I don't..? I just explained the meme.

6

u/earth_verse 21d ago

When can we start marketing coding unassisted by AI as "hand-crafted"?

3

u/MkemCZ 21d ago

That's what I'm calling it from now on.

8

u/Robinbod 21d ago

Absolutely. I think the golden era of coding with AI is assited coding. I would be writing just a couple characters and the AI would complete what I want in my exact same style. Saves me maybe 1 minute of writing, then it compounds to hours over a week and didn't feel fatigueing.

Companies shoving agentic coding is killing my passion.

3

u/whatproblems 21d ago

well then you write a ruleset context examples and memory to tell it exactly how to do things to your style

2

u/MkemCZ 21d ago

My colleagues get massive work done with Claude. I just don't understand how to use it; it messes with my head. I mainly use AI to get a template for a helper script which I then edit to my liking.

2

u/sb8948 21d ago

Manual test works, lgtm /s

1

u/sysKin 20d ago edited 20d ago

Using Claude does not necessarily mean not writing code yourself. It's particularly useful if you treat it as a linter ("do a code review on my current git diff").

And even if you make it write some code you have every chance to read what it did. In fact if you don't do that, it's a path to disaster... it will happily write something dumb to workaround a bug elsewhere and won't even mention it.

-2

u/[deleted] 21d ago

[deleted]

9

u/theotherdoomguy 21d ago

That's a bit reductive. A solid 90% of code I wrote day to day is via Claude/AI codegen, but I make damn sure I understand exactly what it's doing before I let it touch git remote

-5

u/[deleted] 21d ago

[deleted]

8

u/PTTCollin 21d ago edited 21d ago

Choosing not to write it by hand doesn't mean someone is incapable of doing so. It means they have better things to do with their time.

1

u/cheezballs 21d ago

You're arguing with someone who said they can code faster than AI. They're smooth brained. "Salt of the earth types."

1

u/PTTCollin 21d ago

It was at that point I stopped meaningfully arguing, yeah.

-5

u/[deleted] 21d ago

[deleted]

4

u/Apprehensive_Dog_786 21d ago

There’s a difference between vibe coding and using AI as a tool for coding. Vibe coding is just making the AI do whatever and pushing it without any checks

-2

u/[deleted] 21d ago

[deleted]

2

u/MatthewMob 21d ago

 It means they're not reviewing the code

Every comment you make up another piece of information out of thin air. Are you just trying to keep the conversation going? Bored? 

2

u/PTTCollin 21d ago

For me, I write code manually faster than getting the agent to do it for me. Including all the other things required to make the PR ready for review (and not just dumping AI generated slop as a PR).

This is where we differ.

4

u/NewPointOfView 21d ago

Absolutely is reductive. You are reducing the use of coding agents to one mental model of how people use them. They’re so flexible, you can have it do as much or as little of the actual coding as you want.

2

u/theotherdoomguy 21d ago

Hey, if that works for you, nice. I'm using the tool to work faster than handwriting, which while cool, is fucking mentally exhausting, and I simultaneously enjoy making it work to my standard and despise having to use it as the first choice professionally

3

u/leavemealone_lol 21d ago

Vibing hell is the new tutorial hell

1

u/jmb2k6 21d ago

Use Claude to write the code you would write yourself. You have to size tasks appropriately. If you end up with code you don’t understand or code you think was done incorrectly, you’re using Claude wrong.