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 on, influence and/or languages:

    I am not sure but I should betake myself in extremities to the liberal divinities of Greece, rather than to my country’s God. Jehovah, though with us he has acquired new attributes, is more absolute and unapproachable, but hardly more divine, than Jove. He is not so much of a gentleman, not so gracious and catholic, he does not exert so intimate and genial an influence on nature, as many a god of the Greeks.
    Henry David Thoreau (1817–1862)

    Power lasts ten years; influence not more than a hundred.
    Korean proverb, quoted in Alan L. Mackay, The Harvest of a Quiet Eye (1977)

    Science and technology multiply around us. To an increasing extent they dictate the languages in which we speak and think. Either we use those languages, or we remain mute.
    —J.G. (James Graham)