From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Newsgroups: gmane.emacs.help Subject: Re: Check for redundancy Date: Sun, 28 Jun 2015 13:07:32 +0200 Message-ID: <20150628110732.GA23656@tuxteam.de> References: <87zj3mb4jf.fsf@mbork.pl> <87twttcpve.fsf@robertthorpeconsulting.com> <20150627131227.GB23450@tuxteam.de> <87d20glpqa.fsf@nl106-137-147.student.uu.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; x-action=pgp-signed X-Trace: ger.gmane.org 1435489675 8550 80.91.229.3 (28 Jun 2015 11:07:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 28 Jun 2015 11:07:55 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jun 28 13:07:50 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Z9ARB-0004AU-8d for geh-help-gnu-emacs@m.gmane.org; Sun, 28 Jun 2015 13:07:49 +0200 Original-Received: from localhost ([::1]:38502 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z9AR9-0005al-Nq for geh-help-gnu-emacs@m.gmane.org; Sun, 28 Jun 2015 07:07:47 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48618) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z9AQz-0005ae-9m for help-gnu-emacs@gnu.org; Sun, 28 Jun 2015 07:07:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z9AQv-0001E6-8x for help-gnu-emacs@gnu.org; Sun, 28 Jun 2015 07:07:37 -0400 Original-Received: from mail.tuxteam.de ([5.199.139.25]:47932 helo=tomasium.tuxteam.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z9AQv-0001E2-3E for help-gnu-emacs@gnu.org; Sun, 28 Jun 2015 07:07:33 -0400 Original-Received: from tomas by tomasium.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1Z9AQu-00074d-CG for help-gnu-emacs@gnu.org; Sun, 28 Jun 2015 13:07:32 +0200 In-Reply-To: <87d20glpqa.fsf@nl106-137-147.student.uu.se> User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 5.199.139.25 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:105242 Archived-At: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sun, Jun 28, 2015 at 01:02:21AM +0200, Emanuel Berg wrote: > 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-----