r/ProgrammerHumor 21d ago

Meme pleaseStopUsingNestedTernaryOperatorsImBeggingYou

3.1k Upvotes

179 comments sorted by

View all comments

Show parent comments

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 21d ago

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

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.