From: matz@... (Yukihiro Matsumoto) Date: 2003-02-04T09:20:23+09:00 Subject: Re: ruby-dev summary 19437-19455 Hi, In message "Re: ruby-dev summary 19437-19455" on 03/02/04, ahoward writes: |> | static int count = 0; // <-- THIS STATIC |> |> I know. It's still global with constant initializer. | |i'm not exactly sure how? my understanding is from the K&R book. if what you |are saying is true, i'm not sure exactly how this works : I wish I could explain better. The scope of "static variables" are its enclosing block, but it is a "global variable" that can only be seen from the block. You know I mean? It's not a variable that initialized once. From that reason, "static" is not a proper name for new keyword. |in any case it seems like it would be usefull to have this _ability_ if not |the syntax (no one ever likes my syntax ideas ;-) ). Maybe. But since there's thread synchronization issue, things are more difficult that they seem. matz.