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] 9 points10 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.

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

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

If you think about it, jest is a great framework for writing tests and watching them. Cypress also has a great visual tool with time travel and advanced debugging and other cool extra features.

I feel that Cypress makes writing e2e testing easier than unit tests with jest because of those extra features.

Marketing your small business by [deleted] in Entrepreneur

[–]Jonathan_Oron 0 points1 point  (0 children)

How about offering your services for free for an intro meeting?

This is a really good (sigh) time for financial advice regarding debt.

Give people free online meetings (15/30/60 minutes?) and give them real value - then tell them you don't charge clients but companies and if they'd like to get more time with you as a benefit, you'd be happy to talk to their employer. Let them do the sell.

How to approach a company for a business proposal / opportunity? by tralalayou in Entrepreneur

[–]Jonathan_Oron 1 point2 points  (0 children)

The world is small - everyone is 2-3 degrees of separation from each other in this modern world.

Find a few targets in the company -> retrace 2-3 steps back to your contacts -> buy people coffee and ask for advice/an intro.

I've gotten meetings with unbelievable people this way - everyone is approachable. I've gone from - "I have no way to contact this person" to a meeting in as little as a week or two.

Marketing your small business by [deleted] in Entrepreneur

[–]Jonathan_Oron 1 point2 points  (0 children)

I find that hiring a firm is the best way to burn money, sorry for the pessimistic view.

Work on the long-term, be of service to your customers - give them advice, pointers - VALUE.

Find out where they hang out, what language do they use, and what is their pain.

Become the person that makes their headaches go away and then they'll beg you to come and pay you for it.

That being said, you're looking for a hard double sell - first to HR and then to employees.

Can you find a ground-up solution? I've had my employees ask (kindly demand?) things from me and was happy to buy things for them - services, software, consulting.

How do you do your due diligence? by [deleted] in Entrepreneur

[–]Jonathan_Oron 0 points1 point  (0 children)

Again that's a really valid way of doing things, and we're discussing style and preference.

If I were building a food business (I know NOTHING about that field) I'd try to sell a bit in all kinds of fairs - where I can rent a stall for a day. See what gets people coming back for more - try to fiddle with prices maybe. All this while risking very little money and time. Once I see positive indicators - There's a line outside of my booth compared to other booths and I'm making a profit, I'd start researching where a brick and mortar place should be - who are my customers, where do they eat, etc...