News for hackers. Stuff that matters.
Re:WTF Python: Exploring and understanding Python through su... by pjc50 on Thursday February 11, 2021 @06:14AM (#26100318)
Critiquing X, or even warning people about surprises in X, is not "anti-X". Have people picked up this weird idea from fandom culture or something? This article is not saying that people should not use python. It's not criticizing the maintainers for making stupid decisions, as far as I can see. It's just saying "if you do this, you'll get a surprising result", and in the process teaching people more about how it actually works.

One of the most informative books I read early in my career was "C traps and pitfalls". I've written a lot of C in the subsequent 20 years or so. It has some particularly nasty traps. Acknowledging that does not make me anti-C.

Pointing out that a saw is sharp does not make you anti-saw.

Re:WTF Python: Exploring and understanding Python through su... by jcelerier on Thursday February 11, 2021 @08:54AM (#26101499)
> I've written a lot of C in the subsequent 20 years or so. It has some particularly nasty traps. Acknowledging that does not make me anti-C.

depends on your cultural background I guess. Some people see literally everything that is not 100% risk-free as inherently bad.

Re:WTF Python: Exploring and understanding Python through su... by pjc50 on Thursday February 11, 2021 @11:30AM (#26103521)
Well, possibly, but if you genuinely think that then you can never achieve anything other than complaining on message boards and hodling US treasury bonds. Everything has risks and it's a question of enumerating them and deciding how and whether to manage them.
Re:WTF Python: Exploring and understanding Python through su... by jcelerier on Thursday February 11, 2021 @02:35PM (#26106047)
> if you genuinely think that then you can never achieve anything other than complaining on message boards and hodling US treasury bonds.

I mean... yes. That's, like, most people.

Re:WTF Python: Exploring and understanding Python through su... by coldtea on Friday February 12, 2021 @08:15AM (#26113267)
It doesn't have to be 100% for that to be right.

If we can achieve a N% risk-free Python (without sacrificing other useful features), and we only have a M% risk-free Python (where M < N, or even M << N), then what we have is inherently bad.