News for hackers. Stuff that matters.
Re:What's New in Python 3.11? by aunty_helen on Monday June 27, 2022 @02:07AM (#31891115)
Loc is a bad code metric when measuring at the scale of codebases. However, when measuring the succinctness of a language it has its place.

And, contains is a perfectly cromulent function to use unless there's a reason not to. At a million items it would be a bad use of contains if you were to lookup up multiple items, but modern day programming requires both knowledge of the code structure and the data.

Yes, python's type hinting is pants.

Go's goals are simplicity, python wants to be the working man's language.

There are no comments on this comment yet.