Jump to content

Talk:Python (programming language)/Archive 8

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by MiszaBot I (talk | contribs) at 11:43, 30 November 2010 (Archiving 2 thread(s) from Talk:Python (programming language).). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Archive 5Archive 6Archive 7Archive 8Archive 9Archive 10Archive 11

Indentation not significant?

Does anyone besides Strombrg think that Python's use of indentation isn't worth mentioning in the lede? I strongly disagree as it's one of the more unique, useful, and visually striking attributes of the language. --Cybercobra (talk) 05:44, 15 March 2010 (UTC)

I don't consider it's use of indentation it's core/defining feature, so I also don't consider it significant enough for the lead. Section 4.1 on indentation could make more of a deal about it in comparison to other languages. peterl (talk) 05:55, 15 March 2010 (UTC)
strombrg here: When Python is attacked, it's normally attacked for its whitespace for blocks. It's now one of the things I now love most about the language, but when I first saw it, I thought it was awful - as is the reaction of many others new to the language. Putting something this likely to discourage newcomers in the first paragraph is just asking for trouble. Yes, unusual != bad, but it's important to keep in mind that this perspective is "truer" in technical discussion, not marketing discussion, because it's very common for humans to mistake the descriptive for the normative. —Preceding unsigned comment added by Strombrg (talkcontribs) 00:41, 19 March 2010 (UTC)

I believe, with Cybercobra, and with the longstanding consensus of article editors, that mentioning Python's indentation block style should be mentioned in the lead. This feature is one of the most widely mentioned aspects of Python in other introductions and discussion of Python. While I entirely agree that the significance of this feature is often exaggerated–both pro and con–the fact it is so frequently mentioned in 3rd party sources makes it notable to readers of the article. LotLE×talk 03:01, 19 March 2010 (UTC)

strombrg: No one's saying it shouldn't be mentioned, and in fact it is mentioned (again, as if once isn't enough) later in the article. I'm just saying it shouldn't be in a "you only get one first impression" spot where newcomers are more likely to be driven away by it - this in combination with the previous "claims to be powerful" stuff read like it was written by someone who hated the language. Please see http://www.se-radio.net/podcast/2006-02/episode-4-scripting-languages for a typical example of how whitespace for block scoping is misperceived outside the python community. —Preceding unsigned comment added by Strombrg (talkcontribs) 18:36, 20 March 2010 (UTC)
I think the indentation is important enough to be mentioned in the lead. Ulner (talk) 21:37, 20 March 2010 (UTC)
I think indentation makes Python "special". We could add the GvR's argument: you already use space/tabs to indent your code, why not make it part of the language (for better and for worst)? --0x6adb015 (talk) 12:28, 22 March 2010 (UTC)

No "mere" in scripting

I think the word mere should be dropped when describing scripting in the heading as it smacks of being (wrongly) ashamed of your parents. There is nothing "mere" about scripting. It is the essential glue that binds many a system and central to how things get done on Unix-like systems. Yes, it may be thought by some to be beneath other programming but Python practitioners should know better.

Drop the word! --Paddy (talk) 06:44, 15 March 2010 (UTC)

Example?

Wouldn't it be nice to have an example code? --JokerXtreme (talk) 11:35, 26 March 2010 (UTC)

Yes, it would. Perhaps a classic 'Hello world'. 95.147.185.198 (talk) 19:20, 25 April 2010 (UTC)
I've added a couple of simple examples that may help. We need to be careful not to add too much - Wikipedia is not a 'How To'. peterl (talk) 10:38, 27 April 2010 (UTC)

Improve "Mathematics' section

NumPy and SciPy definitely should be mentioned in the "Mathematics" section (currently they are mentioned in the "Usage" section only). For now there are some garbage about %, /, rounding floats to integers etc.

Dmitrey (talk) 12:37, 26 September 2010 (UTC)

Introduction

It could be valuable from a novice's point of view if the article mentioned that the software is free to download. 74.105.52.232 (talk) 18:56, 23 May 2010 (UTC)