Content deleted Content added
Cybercobra (talk | contribs) |
→Totally screwed up: new section |
||
Line 156:
There's nothing dubious at all about this. A module is a collection of shared state (stored in module-level globals) combined with a set of functions that operate on that state. An object (in the sense of class instance) is a collection of shared state (stored in 'self') combined with a set of functions that operate on that state (i.e. methods). The only really substantial difference between the two is that -- generally -- modules can only be instantiated once, while there can be multiple instantiations of the same class. If no one disputes this, I'm deleting this tag. [[Special:Contributions/72.228.33.213|72.228.33.213]] ([[User talk:72.228.33.213|talk]]) 18:23, 15 September 2011 (UTC)
:The multiplicity difference is not a minor point; modules are thus much more akin to classes. I've edited the article to make better comparisons. --[[User:Cybercobra|<b><font color="3773A5">Cyber</font></b><font color="FFB521">cobra</font>]] [[User talk:Cybercobra|(talk)]] 03:58, 16 September 2011 (UTC)
== Totally screwed up ==
The definition given is in marked contrast to the definition here: http://encyclopedia2.thefreedictionary.com/procedural+language
That second definition is essentially the one I learned in college in the early 70s. I believe the entire article needs to be rewritten.
[[User:Danhicks|drh]] ([[User talk:Danhicks|talk]]) 19:46, 16 December 2012 (UTC)
|