News for hackers. Stuff that matters.
Re:Ask HN: Why Did Python Win? by BobbyJo on Tuesday August 29, 2023 @08:16PM (#37315975)
It's hard for me to name a problem domain that doesn't have 3 different python packages doing the same thing three different ways, each more clever and less understandable than the last.
Re:Ask HN: Why Did Python Win? by psunavy03 on Tuesday August 29, 2023 @09:51PM (#37316686)
Why TF would you name an HTML parser BeautifulSoup?
Re:Ask HN: Why Did Python Win? by nijave on Tuesday August 29, 2023 @10:21PM (#37316895)
I Googled it, apparently it comes from this https://en.m.wikipedia.org/wiki/Tag_soup
Re:Ask HN: Why Did Python Win? by psunavy03 on Wednesday August 30, 2023 @02:04AM (#37318253)
OK, I get it, but when I'm trying to write automation for a shop that isn't natively Python-savvy (long story short, it made sense when I started a side project which evolved), if I use that library and ever move on, I now have to document in comments or somewhere WTF "BeautifulSoup" means. Because of some rando's inside joke they thought was funny.
Re:Ask HN: Why Did Python Win? by Lammy on Wednesday August 30, 2023 @03:25AM (#37318741)
This is actually one reason I prefer the Ruby ecosystem — whimsy is still welcome. The world has enough Noun Manager projects.
Re:Ask HN: Why Did Python Win? by psunavy03 on Thursday August 31, 2023 @09:59PM (#37345914)
When I'm trying to figure out how to build a side project for my team and simultaneously fighting company bureaucracy who reflexively stonewalls things on the order of "no one's done that before, we need permission," I don't also want to deal with some immature idiot's stupid namespace. I want a damned Noun Manager for my own sanity's sake.
Re:Ask HN: Why Did Python Win? by benji-york on Wednesday August 30, 2023 @11:08AM (#37323330)
The name is also a reference to Alice in Wonderland.
Re:Ask HN: Why Did Python Win? by raverbashing on Wednesday August 30, 2023 @01:21AM (#37317995)
for real

If it's not on the stdlib, I'd go with the most popular one, or just DIY

No, it is not "best practice" to use a barely tested module with half the bugs affecting its main functionality just because someone thinks it is

Unfortunately package abandonment is a thing and they don't even bother fixing needed bugs (which, coupled with 'the urge to deprecate' makes things annoying)