Re: Can we override [][] ?
Marcus Kwok wrote:[color=blue]
> I actually read an article just today on how Hungarian notation itself
> has become horribly bastardized, and it is this bad version of it that
> everybody knows and many people dislike. Essentially, in the original
> paper, the author (Charles Simonyi) used the word "type" instead of
> "kind", and people took it too literally, thus destroying the original
> usefulness.
>
> http://joelonsoftware.com/articles/Wrong.html
> (near the bottom of the article)
>[/color]
Huh, that article totally changed my perspective on Hungarian Notation.
The idea adding type-modifiers to a language has long seemed awesome to
me; consider if (as in the example in the article above), you said:
unsafe string a = Request("name") ;
...
safe string b = a; // Type error; implicit conversion from 'unsafe'
to 'safe', as illegal as modifying a 'const' object.
Knowing that Hungarian Notation was /intended/ to be a work-around for
extending the type system (since it's infinitely easier and almost as
effective), rather than a simple parroting of the existing type system,
makes it potentially useful in my mind.
Jack Saalweachter
Marcus Kwok wrote:[color=blue]
> I actually read an article just today on how Hungarian notation itself
> has become horribly bastardized, and it is this bad version of it that
> everybody knows and many people dislike. Essentially, in the original
> paper, the author (Charles Simonyi) used the word "type" instead of
> "kind", and people took it too literally, thus destroying the original
> usefulness.
>
> http://joelonsoftware.com/articles/Wrong.html
> (near the bottom of the article)
>[/color]
Huh, that article totally changed my perspective on Hungarian Notation.
The idea adding type-modifiers to a language has long seemed awesome to
me; consider if (as in the example in the article above), you said:
unsafe string a = Request("name") ;
...
safe string b = a; // Type error; implicit conversion from 'unsafe'
to 'safe', as illegal as modifying a 'const' object.
Knowing that Hungarian Notation was /intended/ to be a work-around for
extending the type system (since it's infinitely easier and almost as
effective), rather than a simple parroting of the existing type system,
makes it potentially useful in my mind.
Jack Saalweachter
Comment