Python Three Is Not Python Three Thousand

The contention here is that Python v3, as it was released, does not encode the spirit of Python3k*. Python3 was fine for script kids and bankers, but not good enough to be called PythonThreeThousand. For true Python3k, it needs to get its Zen back.

Python has JumpedTheShark?

Review:

The Zen of Python:

This is good.

Good, but PythonLanguage relies on implicitness for typing. So one must separate these two and be clear. Let's rewrite as:

Code should be explicit, *types* implicit.

Yes. Is this instructional?

These terms are now muddied. Let's say:

Complex is better than SpaghettiCode or a tangled mess.

No. This was only true before the proposed revamping of the ObjectModel for PythonThreeThousand when no one knew how to nest complex trees properly. If you root in the tree in the ***machine*** the way is clear: a DataEcosystem managed by the interpreter and user/programmer. Python followed a dead-end trying to root it all in a GodObject (or rather GodClass).

Probably, functional separation is what you're aiming for with removing redundancies for things/code used more than twice.

Yes, aim for SelfDocumentingCode, DocTests.

Correct.

In the near-term. With a true PythonThreeThousand rooted in a UnifiedDataModel, these special cases will no longer be needed.

Good.

Fine.

One of the most powerful rules here.

Yes, and here we have the cross-roads of PythonThreeThousand. Never is better, until you're ready to get it right.

Right. See also: MasterOfTheMachine.

Yes. At least it's easier to critique.

Yes, but how shall we do it? A tree of attributes off of a central trunk?


(*) Specifically, it has to do with how it conceived of (and coded) the "bytes" type.


In short, Python Rational's had way more Zen than Decimals. And str/bytes has way more purity and truth than Unicode strings.

See more at PythonThreeThousand.


See also WhatIsTheDifferenceBetweenPythonTwoAndPythonThree?


CategoryPython


EditText of this page (last edited November 25, 2014) or FindPage with title or text search