Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.programming > #3737
| From | Ian Collins <ian-news@hotmail.com> |
|---|---|
| Newsgroups | comp.programming |
| Subject | Re: Globals/"static" access in OO languages. (Was: Singleton quintessence) |
| Date | 2013-09-15 17:18 +1200 |
| Message-ID | <b9ku9fF16ooU1@mid.individual.net> (permalink) |
| References | (1 earlier) <l0kvqd$gqn$1@speranza.aioe.org> <iGrXt.29592$PB4.5568@fx03.iad> <rI1Zt.83896$5r1.40610@en-nntp-14.dc1.easynews.com> <lY1Zt.36438$Dw7.6438@fx31.iad> <52353ca9$0$44511$862e30e2@ngroups.net> |
Robert Miles wrote: > On 9/14/2013 1:31 PM, Daniel Pitts wrote: >> On 9/14/13 11:14 AM, Richard Damon wrote: >>> On 9/9/13 6:09 PM, Daniel Pitts wrote: > [snip] >> Hmm, I could see the entry point of the program accepting a "System" >> object, which provides access to those resources. >> >> At the same time, I'm not really sure those are the same concept as >> static. Perhaps behind the scenes they are. So system calls may need >> to access "static" data, but the application itself wouldn't directly >> access static/global data. >> > At least in C, "static" means that the value(s) of the object never > change as the program runs; this is used mainly to tell the compiler > that it can use optimizations that depend on these values never changing. s/static/const/ -- Ian Collins
Back to comp.programming | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Singleton quintessence bob <bob@coolfone.net> - 2013-09-07 18:36 -0700
Re: Singleton quintessence Geoff <geoff@invalid.invalid> - 2013-09-07 18:49 -0700
Re: Singleton quintessence Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2013-09-07 22:12 -0700
Re: Singleton quintessence Ney André de Mello Zunino <zunino@softplan.com.br> - 2013-09-09 14:17 -0300
Globals/"static" access in OO languages. (Was: Singleton quintessence) Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2013-09-09 15:09 -0700
Re: Globals/"static" access in OO languages. (Was: Singleton quintessence) Richard Damon <Richard@Damon-Family.org> - 2013-09-14 14:14 -0400
Re: Globals/"static" access in OO languages. (Was: Singleton quintessence) Daniel Pitts <newsgroup.nospam@virtualinfinity.net> - 2013-09-14 11:31 -0700
Re: Globals/"static" access in OO languages. (Was: Singleton quintessence) Robert Miles <milesrf@Usenet-News.net> - 2013-09-14 23:50 -0500
Re: Globals/"static" access in OO languages. (Was: Singleton quintessence) Ian Collins <ian-news@hotmail.com> - 2013-09-15 17:18 +1200
Re: Singleton quintessence "Charles Richmond" <numerist@aquaporin4.com> - 2013-09-10 17:34 -0500
Re: Singleton quintessence Öö Tiib <ootiib@hot.ee> - 2013-09-14 11:34 -0700
csiph-web