Talk:Static variable

From Wikipedia, the free encyclopedia

This article is within the scope of Computing WikiProject, an attempt to build a comprehensive and detailed guide to computers and computing. If you would like to participate, you can edit the article attached to this page, or visit the project page, where you can join the project and/or contribute to the discussion.
??? This article has not yet received a rating on the quality scale.
??? This article has not yet received an rating on the importance scale.

[edit] Merge proposed

Static variable is just a type of variable, there isn't that much to say about it - should be a section in Variable. Ripper234 17:29, 4 April 2006 (UTC)

Agreed. I removed the untrue claims and cleaned up the rest. There's not much left, so it should definitely merge. The Rod (☎ Smith) 19:54, 4 April 2006 (UTC)

I disagree with the merge proposal: I think this kind of article benefits from modularity and conciseness more than becoming part of a larger more unwieldy article. An article about variables in general is needed, but it is better as an overview referencing the detailed subtypes as separate pages for those wanting more detail. It also enables more accurate and relevant referencing from other articles. This is a problem of attention span and limited short term memory. I suggest we keep it modular for the same reason we prefer to program using small functions. User:copsewood 21 Dec 2006.


It would be nice to know if static local variables are stored somehow on the callstack like other local variables, in heap memory, or somewhere else entirely. --199.172.169.17 14:50, 18 July 2006 (UTC)

[edit] Static Methods

I think someone should include a description of static methods, and the rules that apply - as in java -I'm currently confus-ed!