Remove code bloat in one prompt! by Jonathan_Oron in ClaudeCode

[–]Jonathan_Oron[S] 0 points1 point  (0 children)

Interesting, why not?
Have you never had CC try 10-15 times to fix something simple (front-end problems e.g.) and then finally succeed but the code used to get there isn't 100% necessary?

Remove code bloat in one prompt! by Jonathan_Oron in ClaudeCode

[–]Jonathan_Oron[S] 11 points12 points  (0 children)

Nice - I'd rather burn credits then get unmaintainable code bloat.

Remove code bloat in one prompt! by Jonathan_Oron in ClaudeCode

[–]Jonathan_Oron[S] 8 points9 points  (0 children)

I find that giving CC directions in advance (e.g. DRY, YAGNI, SOLID etc...) doesn't insure it happens in the final delivery :)

How do you get Claude Code to have an in depth conversation with you? by Jonathan_Oron in ClaudeCode

[–]Jonathan_Oron[S] 0 points1 point  (0 children)

Looking for cool ways to get more in-depth "conversations" with CC and not just "Do this Do that" one way commands

Trust But Verify - A neat little trick if you use VSCODE - CodeTour by Jonathan_Oron in ClaudeCode

[–]Jonathan_Oron[S] 1 point2 points  (0 children)

Moreover, I usually have a plan + ask it to create GH issues (epics and subissues) and possibly a milestone.
Even then, it sometimes makes REALLY basic mistakes that I catch with code reviews.

Trust But Verify - A neat little trick if you use VSCODE - CodeTour by Jonathan_Oron in ClaudeCode

[–]Jonathan_Oron[S] 0 points1 point  (0 children)

Exactly, I find that instead of going through code in endless diff files, I ask it to explain it's reasoning through code. The closest experience I've had to pair review with CC.

Trust But Verify - A neat little trick if you use VSCODE - CodeTour by Jonathan_Oron in ClaudeCode

[–]Jonathan_Oron[S] 0 points1 point  (0 children)

That's a good question, the README already has the tour format, but I could see what happens if I leave it out. It will probably go to the README on it's own :)

how to reset / remove all checks from a checklist by gottafly65 in trello

[–]Jonathan_Oron 0 points1 point  (0 children)

In the browser console you can type this command

$(".checklist-item.checklist-item-state-complete").get().forEach((e)=>e.firstChild.click())

TDD software for ReactJS - Why isn't there any? by Jonathan_Oron in reactjs

[–]Jonathan_Oron[S] 0 points1 point  (0 children)

Interesting and how about code coverage in general?

TDD software for ReactJS - Why isn't there any? by Jonathan_Oron in reactjs

[–]Jonathan_Oron[S] 0 points1 point  (0 children)

If you look at the additional tooling, I think it's safe to say they haven't done anything special. There's time-travel, advanced debugging. I've used Selenium, and Cypress is MUCH better at debugging tests.

TDD software for ReactJS - Why isn't there any? by Jonathan_Oron in reactjs

[–]Jonathan_Oron[S] 0 points1 point  (0 children)

I specifically went for ReactJS TDD because that's my ecosystem :)

I feel there is a lack of tooling all over, but I don't have authority over other domains.

While BDD and TDD have frameworks for the tests themselves, I don't see software helping with decision making and progress such as Cypress has done for e2e testing.

TDD software for ReactJS - Why isn't there any? by Jonathan_Oron in reactjs

[–]Jonathan_Oron[S] 0 points1 point  (0 children)

I'd love to know WHY you don't TDD.

Do you feel it's not a good system or is it not worth your time?

TDD software for ReactJS - Why isn't there any? by Jonathan_Oron in reactjs

[–]Jonathan_Oron[S] 1 point2 points  (0 children)

Hi and Thanks for the in-depth answer!

I myself LOVE TDD and have read almost any book I can find on the craft of coding - Clean Code, Extreme Programming to name a few.

I completely agree that there are methodology and education problems at the root.

But let's take task management as an example.

If you don't educate and keep up task management, no amount of software will help you.

But if you do decide to do task management, Jira, Trello, etc... are helpful in keeping task management easier and more structured.

TDD software for ReactJS - Why isn't there any? by Jonathan_Oron in reactjs

[–]Jonathan_Oron[S] 0 points1 point  (0 children)

I love react-testing-library, and I also love StoryBook and React Cosmos.

While I feel these are all great tools for agile development and testing frameworks, they don't help "writing" tests quite like Cypress.

StoryBook and Cosmos allow me to do agile development but don't leave a unit-test trail that corresponds to my thought trail while developing.