Influences From Other Languages
Python's core syntax and certain aspects of its philosophy are directly inherited from ABC. C provided some of Python's syntax, and the Bourne shell served as the model for an interpreter that becomes interactive when run without arguments. List comprehensions, anonymous functions, lexical closures and the map function are among the major features borrowed from functional languages, primarily dialects of Lisp and Haskell. Generators and iterators were inspired by Icon, and were then fused with the functional programming ideas borrowed into a unified model. Modula-3 was the basis of the exception model and module system. Perl lent Python regular expressions, used for string manipulation. Python's standard library additions and syntactical choices were strongly influenced by Java in some cases: the logging
package, introduced in version 2.3, the threading
package for multithreaded applications, the SAX parser, introduced in 2.0, and the decorator syntax that uses @
, added in version 2.4
Read more about this topic: History Of Python
Famous quotes containing the words influences and/or languages:
“I dont believe in villains or heroes, only in right or wrong ways that individuals are taken, not by choice, but by necessity or by certain still uncomprehended influences in themselves, their circumstances and their antecedents.”
—Tennessee Williams (19141983)
“Wealth is so much the greatest good that Fortune has to bestow that in the Latin and English languages it has usurped her name.”
—William Lamb Melbourne, 2nd Viscount (17791848)