News for hackers. Stuff that matters.
Re:Show HN: Array – A Better Python List by disgruntledphd2 on Sunday January 10, 2021 @04:17PM (#25719974)
I agree with you in general, people (especially data scientists) are bad at naming things.

It's probably the core skill of good programmers though, so it should be taught more. I don't think anyone sets out to use misleading names, but it's easy for name and code to diverge, and it's crippling to readability.

However, often when refactoring/updating such data scientist code (or even understanding), I need to break apart the long method chains, and this is much, much more annoying than dealing with crummy names.

At least I can print the values associated with the names, which is not easily possible in the really long method chain.

There are no comments on this comment yet.