help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Check for redundancy


From: tomas
Subject: Re: Check for redundancy
Date: Sun, 28 Jun 2015 13:07:32 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, Jun 28, 2015 at 01:02:21AM +0200, Emanuel Berg wrote:
> <tomas@tuxteam.de> writes:
> 
> > AFAIR (yes, I'm an old fart) Hungarian notation was
> > introduced at Microsoft (by Charles Simonyi, no
> > less) because their C compiler was abysmal at
> > type checking.
> 
> There is some material on it in this book:
> 
>     @book{programmers-at-work,
[...]

Thanks for the ref!

> [...] Here is
> the Wikipedia article [1] - especially read the
> "Notable opinions" section!

and for reminding me of this one. I'd even go further than Stroustroup:
if you have an untyped language, Hungarian is a losing proposition.
The type "tags" in the var names are now possibly lying to you, which
is even worse. IMHO better you embrace the untyped language and come up
with more intelligent techniques [1] (or, if that's not your thing, you
just change languages).

[1] Lint, why not?

- -- t
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlWP1XQACgkQBcgs9XrR2kbnfQCfaN6HZqqU0LzuMQeTlpmNfgAR
zZAAn2z1pXLRqhHX6QxHtecAIQyD5wdd
=xf95
-----END PGP SIGNATURE-----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]