5 ms·
I'm assuming it's vibe coded, but it's a code smell I've noticed is specific to vibe coded projects. AIs tend to have a debilitating phobia of any kind of exce
by StableAlkyne 29d ago
I'm assuming it's vibe coded, but it's a code smell I've noticed is specific to vibe coded projects.
AIs tend to have a debilitating phobia of any kind of exception. Claude especially will throw try/except and weird coersion everywhere in the code.
This bites you because it hides legitimate errors, even when the program is in such an unrecoverable state that it doesn't make logical sense to continue. It becomes impossible to debug, and requires the test suite to be absolutely perfect because you end up throwing away the only way for the language to warn you that something went wrong.
So while yes, it's relatively minor, like many code smells it is indicative that other things may be wrong.
- gchamonlive 29d agoAre other things wrong? I'd be wary to shame people's work without doing legwork to getting evidence to support your claim, otherwise you risk passing as someone just seeking attention and upvotes, riding on the tides of HN anti-AI sentiment. Which is valid for vote farming just to be clear, I'd just respect you less if this was the case.
- StableAlkyne 29d agoI mean, my original post is just asking why it's in there. Maybe I'm missing something, so I asked. That isn't "shaming" their work. > otherwise you risk passing as someone just seeking attention and upvotes This isn't Reddit.
- gchamonlive 29d agoAnd yet people exploit upvote-baits, so give me a break
- mukundzha6 29d agoBro. I didn't had money fo claude code to review my codebase so i build this. And you are saying that i use claude code or anyother tools fot this. NOT GONNA LIE. I FORMATTED THE CODE FROM AI TO BE BREAKPROOF SO IN SOME CASES IT MAY LOOK AI GENERATED BUT ITS MOSTLY MY CODE WITH SOME AI TWEAKS.NOTHING MORE.
- gchamonlive 29d agoWhy are you yelling? Makes me think the flagged and dead post is deserving and I'm wasting my time defending your project here.
- mukundzha6 29d agosorry bro. but i wasn't yelling at you. just saying to criticizers. sorry.
- gchamonlive 29d agoThat's alright. But if I could give you a piece of unsolicited advice, treat your pals nice and the criticizers better, they are the hearts you need to change :)
- mukundzha6 28d agoOk i understood