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:
“Professors of literature, who for the most part are genteel but mediocre men, can make but a poor defense of their profession, and the professors of science, who are frequently men of great intelligence but of limited interests and education, feel a politely disguised contempt for it; and thus the study of one of the most pervasive and powerful influences on human life is traduced and neglected.”
—Yvor Winters (19001968)
“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)