Skip to content
Julian Schacher edited this page Jun 30, 2018 · 14 revisions

What's up with Python 2?

or "Why is there no Python 2 code?"

In June 2018 we decided to not include Python 2 in the AAA anymore. This change has multiple reasons, which Buttercak3 lined out in an issue related to it. Here is a short summary:

  • The support for Python 2 will be dropped by 2020. Since we're a learning resource, we encourage beginners to learn the newer Python 3 instead of Python 2.
  • Everyone who can read Python 2 will be able to read and understand our Python 3 code. They are similar enough to make this possible. Also running Python 3 shouldn't be a problem for a Python 2 developer.
  • The AAA is not a library. We're currently just a learning resources and the provided code examples are meant to help developers and coders to understand an algorithm. They aren't meant to be directly copied and used in production code. If you want to use a certain algorithm in production code, try to re-implement it to fit your guidelines and standards or even better: use a third-party library, which contains the algorithm.

Related Links

What's the difference to Rosetta Code?

or "Isn't the AAA the same as Rosetta Code?"

The AAA is focusing on algorithms and their implementations in different languages. Therefore we provide an explanatory text for each algorithm and include code examples written by the community/contributors.

Rosetta Code on the other hand focuses on languages and their differences.

So both projects have very different focuses, standards and goals.

Clone this wiki locally