5 ms·
+1 to this. Nowadays when I see some "Considered harmful" post on HN its tends to be some dude on his personal blog talking about how in his 2 years of programm
by dgrin91 3y ago
+1 to this. Nowadays when I see some "Considered harmful" post on HN its tends to be some dude on his personal blog talking about how in his 2 years of programming experience JS framework X is bad and instead you should use JS framework Y. Instant red flag and I'm likely to ignore.
- robear 3y agoI completely agree. "Considered Harmful" is one of my biggest pet peeves. It irrationally irritates me.
- musicale 3y agoIrrational irritation considered harmful.
- matheusmoreira 3y agoHarmful considerations considered harmful.
- MrVandemar 3y agoThat and prefixing something -- anything! -- "unpopular opinion".
- gessha 3y agoWhat’s better is “Mostly harmless”
- st_goliath 3y agoIf you love being irrationally irritated over uncreative headlines, here are a few more related contenders: https://news.ycombinator.com/item?id=31836787 https://news.ycombinator.com/item?id=31836787 https://news.ycombinator.com/item?id=32821316 https://news.ycombinator.com/item?id=32821316
- IshKebab 3y agoYou should write a blog about this. You could call it "Examining falsehoods programmers believe about the unreasonable effectiveness of 'considered harmful' for fun and profit."
- jeppester 3y agoI think it's often the same with "antipattern" or "code smell". The best programmers I know rarely see things as 100% good or bad.
- vlunkr 3y ago"Code smell" is especially ambiguous and annoying.
- DubiousPusher 3y agoIs it though? Like, if I see a lot of nested "ifs" with "returns" sprinkled around, I'm getting "icky" vibes way before I intellectually know what is wrong. Like, I don't think you can get away with just typing "code smell" in a CR. That's lazy but the gut reaction to some code can be a useful starting point.
- fsckboy 3y ago> a lot of nested "ifs" with "returns" sprinkled around how do you feel about the code smell of a tail-recursive fizz-buzz?
- francoisdevlin 3y agoSmells like breakfast
- DubiousPusher 3y agoErase it and do it iteratively like any sane person! Kidding aside, I'm more talking about the kinds of large procedures common to C++ codebases. These involve many sequential state changes which leave lots of opportunities for not initializing things and the like when the right set of conditions are met. The more paths available through this kind of code the more likely it becomes we'll create a bad one and fail to anticipate the conditions which trigger it.
- tialaramex 3y ago
- tensor 3y agoYep, same here. I never read things with these sorts of titles.
- patrick451 3y agoWhen I see a "Considered Harmful" post, I still click on it, expecting to find satire since it's such a cliche at this point. I'm almost universally disappointed.
- tinus_hn 3y agoSorry, I don’t disagree but the exact same thing goes for comments that start with ‘This!’ And ‘+1’