News for hackers. Stuff that matters.
Re:What Is the Switch-Case Equivalent in Python? by GeorgeTirebiter on Saturday April 03, 2021 @06:10PM (#26685185)
Seems to me the 'sweet spot' for a language is a careful balance of continuing to evolve - slowly, carefully - and to not become so large as to 'not fit into one head'. Python3.9 is not yet at the 'too big for one head'; but 3.xx could be. Perhaps old-style features need to be removed, and only available via some sort of "from __past__ import old-feature-set"
Re:What Is the Switch-Case Equivalent in Python? by musingsole on Saturday April 03, 2021 @06:30PM (#26685321)
It's hard for me to separate a language from what it is used to accomplish, and from that perspective, Python has been far too large to fit in one head for a good long time. Perhaps that is why I don't find any compulsion for language purity.
Re:What Is the Switch-Case Equivalent in Python? by neolog on Sunday April 04, 2021 @02:17AM (#26687319)
> too large to fit in one head

is it? I don't think the core language is that big. The libraries are big of course.

Re:What Is the Switch-Case Equivalent in Python? by pansa2 on Sunday April 04, 2021 @03:31AM (#26687580)
An example of core language complexity: if asked, could you explain what all of these do?

https://twitter.com/raymondh/status/1280988785841278976

Re:What Is the Switch-Case Equivalent in Python? by neolog on Sunday April 04, 2021 @05:44AM (#26688092)
The only one I didn't know was text_signature.
Re:What Is the Switch-Case Equivalent in Python? by neolog on Sunday April 04, 2021 @02:35PM (#26691751)
I'm very curious why is this downvoted?
Re:What Is the Switch-Case Equivalent in Python? by neolog on Saturday April 03, 2021 @06:23PM (#26685277)
They could just deprecate without removing.