News for hackers. Stuff that matters.
Re:WTF Python: Exploring and understanding Python through su... by seanparsons on Thursday February 11, 2021 @06:44AM (#26100494)
I've observed the weird phenomenon that any valid criticism of Python is treated as either some kind of personal attack or because you're a mad static typing ideologue.
Re:WTF Python: Exploring and understanding Python through su... by hnarn on Thursday February 11, 2021 @07:28AM (#26100753)
To be honest I feel like most criticisms against any languages are bound to sooner or later be met with the response "well, this is how this language works, and if you don't like it pick another". If you criticize a weakly typed language for an issue that is solved by strong typing, you could even argue that they are correct in saying so, unless you come up with a way to solve it without types.

I suspect that the reason that it's so common to be initially suspected of being an ideologue is that there are so many out there, and they are very vocal compared to the majority that often couldn't care less. So if you don't come up with alternate solutions, maybe the tendency is to assume you're getting at the old trope they've already heard before.

Re:WTF Python: Exploring and understanding Python through su... by seanparsons on Friday February 12, 2021 @06:04AM (#26112381)
As an example I recently had someone say that "best practices" are just as good at avoiding the kinds of things a static type system catches. Python seems to be (for whatever reason) a language that creates this kind of ideology with the kind of tropes everyone has heard before.
Re:WTF Python: Exploring and understanding Python through su... by FridgeSeal on Thursday February 11, 2021 @07:01AM (#26100594)
Adding to the list “oh if it’s not fast enough, just write it in C”

As if wishing for any performance that’s an improvement on bottom-of-the-barrel is some kind of wild, unreasonable ask for which the solution is “write it in a language full of pitfalls, sharp edges and an even worse packaging and developer experience than the current one? Seriously?