Influence On Other Languages
Python's design and philosophy have influenced several programming languages, including:
- Pyrex and its derivative Cython are code translators that are targeted at writing fast C extensions for the CPython interpreter. The language is mostly Python with syntax extensions for C and C++ features. Both languages produce compilable C code as output.
- Boo uses indentation, a similar syntax, and a similar object model. However, Boo uses static typing and is closely integrated with the .NET Framework.
- Cobra uses indentation and a similar syntax. Cobra's "Acknowledgements" document lists Python first among languages that influenced it. However, Cobra directly supports design-by-contract, unit tests and optional static typing.
- ECMAScript borrowed iterators, generators, and list comprehensions from Python.
- Go is described as incorporating the "development speed of working in a dynamic language like Python".
- Groovy was motivated by the desire to bring the Python design philosophy to Java.
- Karel the Robot is a popular educational programming language created in 1981 at the Stanford University by R.E. Pattis. The original syntax was close to Pascal, but a new edition in NCLab has a syntax very similar to Python.
- OCaml has an optional syntax, called twt (The Whitespace Thing), inspired by Python and Haskell.
- Ruby's creator, Yukihiro Matsumoto, has said: "I wanted a scripting language that was more powerful than Perl, and more object-oriented than Python. That's why I decided to design my own language."
- Alore, a new language with optional typing with Python syntax. (Development in hiatus)
- Mypy (in development), derived from Alore, but mypy will be mostly compatible with Python to make it easier to adopt.
Python's development practices have also been emulated by other languages. The practice of requiring a document describing the rationale for, and issues surrounding, a change to the language (in Python's case, a PEP) is also used in Tcl and Erlang because of Python's influence.
Read more about this topic: Python (programming Language)
Famous quotes containing the words influence and/or languages:
“What arouses the indignation of the honest satirist is not, unless the man is a prig, the fact that people in positions of power or influence behave idiotically, or even that they behave wickedly. It is that they conspire successfully to impose upon the public a picture of themselves as so very sagacious, honest and well-intentioned.”
—Claud Cockburn (19041981)
“The less sophisticated of my forbears avoided foreigners at all costs, for the very good reason that, in their circles, speaking in tongues was commonly a prelude to snake handling. The more tolerant among us regarded foreign languages as a kind of speech impediment that could be overcome by willpower.”
—Barbara Ehrenreich (b. 1941)