David Piepgrass <> changed:

           What    |Removed                     |Added
                 CC|                            |

--- Comment #14 from David Piepgrass <> 2012-07-25 13:42:36 
PDT ---
+1 from me. Implicit static and (worse) implicit enum are bad ideas, and the
worst part is that whether it's static or not depends on whether there is an
initializer or not. (admittedly I am left wondering what the difference is
between "const int" and "immutable int", is it relevant?)

However, as a compromise, perhaps if the user writes "const int x = 7;" the
compiler could warn: "warning: since x is a constant, it should be declared
with static or enum to avoid wasting memory."

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to