Talk:Python (programming language): Difference between revisions

Content deleted Content added
No edit summary
Reverted 1 edit by 2001:4455:344:CE00:7D79:6CA7:6885:4151 (talk): Off topic
 
Line 1:
{{Talk header|search=yes}}
I don't believe Python supports [[:Functional programming|Functional programming]], as in [[:Prolog|Prolog]] or somesuch. It supports function-based programming... meaning that your program is just composed of functions not organized into classes and objects. I have gotten the two confused in the past, and I suspect that this is what happened here.
{{ArticleHistory
|action1=GAN
|action1date=10:51, 7 March 2007
|action1result=listed
|action1oldid=113288869
 
|action2=PR
Or does Python really support functional programming? Is there some add-on package that allows this? I wasn't aware of one. -- [[talk:Ansible|ansible]]
|action2date=07:13, 17 February 2009
|action2link=Wikipedia:Peer review/Python (programming language)/archive1
|action2result=reviewed
|action2oldid=270962314
 
|action3=GAR
Yes, Python really does have some built-in functional programming features such as "map()", "filter()", "reduce()" and a somewhat limited "lambda", although I've read that Guido van Rossum now regrets including these features in the language. As a more readable and "Pythonic" alternative, "list comprehensions" were more recently introduced into the language and can often be used instead of the older functional programming constructs.
|action3date=15:25, 3 March 2009 (UTC)
--------------------------------------------------------------------------------
|action3link=Talk:Python (programming language)/GA1
I do not think Python is 'strongly influenced' by Perl. In fact the design philosophy is diametrically opposite in some senses.
|action3result=kept
|action3oldid=274694631
 
|action4 = GAR
|action4date = 13:16, 9 February 2023 (UTC)
|action4link = Wikipedia:Good article reassessment/Python (programming language)/1
|action4result = delisted
|action4oldid = 1136880732
 
|topic=Engtech
|currentstatus = DGA
}}
{{WikiProject banner shell|class=B|vital=yes|1=
{{WikiProject Computing |importance=High |science=y |science-importance=Mid |software=y |software-importance=High |free-software=y |free-software-importance=High}}
{{WikiProject Computer science|importance=High}}
}}
{{User:MiszaBot/config
|archiveheader = {{talkarchivenav}}
|maxarchivesize = 31K
|counter = 11
|algo = old(90d)
|archive = Talk:Python (programming language)/Archive %(counter)d
}}
{{American English}}
 
== GA reassessment ==
{{Wikipedia:Good article reassessment/Python (programming language)/1}}
 
== "[[:Pyston]]" listed at [[Wikipedia:Redirects for discussion|Redirects for discussion]] ==
[[File:Information.svg|30px]]
The redirect <span class="plainlinks">[//en.wikipedia.org/w/index.php?title=Pyston&redirect=no Pyston]</span> has been listed at [[Wikipedia:Redirects for discussion|redirects for discussion]] to determine whether its use and function meets the [[Wikipedia:Redirect|redirect guidelines]]. Readers of this page are welcome to comment on this redirect at '''{{section link|1=Wikipedia:Redirects for discussion/Log/2025 February 6#Pyston}}''' until a consensus is reached. <!-- Template:RFDNote --> [[User:Duckmather|Duckmather]] ([[User talk:Duckmather|talk]]) 02:32, 6 February 2025 (UTC)
 
== Plan for Future Edits ==
 
# Adding more examples showcasing different paradigms
 
We could provide Python examples of list comprehensions, lambda functions, map, filter, reduce in a functional programming context.
 
# Show graph or data of Python popularity in relation to other languages
# Show examples of using performance optimization tools with Python like Numba, Cython, and PyPy
# Running experimental support for running in a free-threaded mode
 
[[User:MadHanSolo|MadHanSolo]] ([[User talk:MadHanSolo|talk]]) 18:23, 26 March 2025 (UTC)
: Hi {{ping|MadHanSolo}}. Please feel free to add if you think that makes sense. However, keep in mind that Wikipedia is not a [[WP:NOTHOWTO|Howto]] or a set or tutorials so if the code examples become too large, they are likely to get deleted. --[[User:McSly|McSly]] ([[User talk:McSly|talk]]) 18:34, 26 March 2025 (UTC)
:Hi @[[User:MadHanSolo|MadHanSolo]], I can work towards adding in a brief section of performance optimization taking into account the advice from @[[User:McSly|McSly]] about examples. I was briefly going to cover Just-In-Time Compilation, Static Compilation, Concurrency and Parallelism, and Efficient Data Structures. [[User:Chbeast|Chbeast]] ([[User talk:Chbeast|talk]]) 20:15, 29 March 2025 (UTC)
 
== Problems ==
 
1, Why does the programing language template doesn't use an [https://www.python.org/community/logos/ offical logo] of Python, like it [https://en.wikipedia.org/w/index.php?title=Python_(programming_language)&oldid=1299817513 did before]? [[User:Xzkdeng|Xzkdeng]] ([[User talk:Xzkdeng|talk]]) 08:51, 15 July 2025 (UTC)
 
== "Batteries included" removed ==
 
Because in the first reference that was given the term "batteries" doesn't show up anymore, and the second reference is a long-withdrawn PEP. [[User:Jae|jae]] ([[User talk:Jae|talk]]) 12:20, 17 July 2025 (UTC)