3 ms·
It's raining "Considered Harmful" stories. Come on. Be a little bit more creative with titles, please!
by voidz 11y ago
It's raining "Considered Harmful" stories. Come on. Be a little bit more creative with titles, please!
- hynek 11y agoTBH it was just a quick write up to point ppl to in discussion as said in the intro. I never spent much time to ponder the attractiveness/SEOability etc.
- DyslexicAtheist 11y agothe point is it's not "considered" harmful <-- emphasis on quotes around considered but not on harmful because nobody "considers" it. Some might have a strong use-case for using hasattr(). The same applied to goto (and still does).
- hynek 11y agoThere is absolutely nothing hasattr does that you cannot achieve with other means in a more robust way and with minimal impact. It’s not like ditching goto that requires a completely different approach to programming.
- DyslexicAtheist 11y agoalso the downvote-fairies on here today should consider reading https://news.ycombinator.com/item?id=9744916 https://news.ycombinator.com/item?id=9744916
- hynek 11y agoLook, nobody is defending the title. I’ve even apologized for it here and in the article and explained how it happened. But if you insist on keeping to beat the dead horse tells more about you than the title.