Python (programming Language) - Influence On Other Languages

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:

    This declared indifference, but as I must think, covert real zeal for the spread of slavery, I can not but hate. I hate it because of the monstrous injustice of slavery itself. I hate it because it deprives our republican example of its just influence in the world ... and especially because it forces so many really good men amongst ourselves into an open war with the very fundamental principles of civil liberty.
    Abraham Lincoln (1809–1865)

    No doubt, to a man of sense, travel offers advantages. As many languages as he has, as many friends, as many arts and trades, so many times is he a man. A foreign country is a point of comparison, wherefrom to judge his own.
    Ralph Waldo Emerson (1803–1882)