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:

    The example of America must be the example, not merely of peace because it will not fight, but of peace because it is the healing and elevating influence of the world, and strife is not. There is such a thing as a man being too proud to fight. There is such a thing as a nation being so right that it does not need to convince others by force that it is right.
    Woodrow Wilson (1856–1924)

    I am always sorry when any language is lost, because languages are the pedigree of nations.
    Samuel Johnson (1709–1784)