From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Robert Thorpe Newsgroups: gmane.emacs.help Subject: Re: Check for redundancy Date: Fri, 03 Jul 2015 23:59:46 +0100 Message-ID: <87k2uglue5.fsf@robertthorpeconsulting.com> References: <83r3opzbap.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1435964415 29334 80.91.229.3 (3 Jul 2015 23:00:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 3 Jul 2015 23:00:15 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jul 04 01:00:06 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 1ZB9wE-0000DC-4p for geh-help-gnu-emacs@m.gmane.org; Sat, 04 Jul 2015 01:00:06 +0200 Original-Received: from localhost ([::1]:42784 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZB9wD-0000iF-IZ for geh-help-gnu-emacs@m.gmane.org; Fri, 03 Jul 2015 19:00:05 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55639) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZB9w2-0000i7-Up for help-gnu-emacs@gnu.org; Fri, 03 Jul 2015 18:59:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZB9vx-0004lG-V0 for help-gnu-emacs@gnu.org; Fri, 03 Jul 2015 18:59:54 -0400 Original-Received: from outbound-smtp02.blacknight.com ([81.17.249.8]:45853) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZB9vx-0004ju-Pz for help-gnu-emacs@gnu.org; Fri, 03 Jul 2015 18:59:49 -0400 Original-Received: from mail.blacknight.com (pemlinmail06.blacknight.ie [81.17.255.152]) by outbound-smtp02.blacknight.com (Postfix) with ESMTPS id 5123D98873 for ; Fri, 3 Jul 2015 22:59:48 +0000 (UTC) Original-Received: (qmail 12847 invoked from network); 3 Jul 2015 22:59:47 -0000 Original-Received: from unknown (HELO RTLaptop) (rt@robertthorpeconsulting.com@[109.77.183.224]) by 81.17.254.9 with ESMTPSA (DHE-RSA-AES128-SHA encrypted, authenticated); 3 Jul 2015 22:59:47 -0000 In-Reply-To: <83r3opzbap.fsf@gnu.org> (message from Eli Zaretskii on Fri, 03 Jul 2015 15:16:14 +0300) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 81.17.249.8 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:105413 Archived-At: Eli Zaretskii writes: >> From: Yuri Khan >> Date: Fri, 3 Jul 2015 17:48:28 +0600 >> Cc: "help-gnu-emacs@gnu.org" >> >> Yes. -DSTRICT has been the default setting for new projects created in >> MSVC++ since version 7 or so. Is there some problem enabling STRICT on >> MinGW, or a reason why it is done rarely? ... > (Personally, I see no good reasons for doing that, and I'm quite sure > it will break some legitimate code.) As Eli says this is help-gnu-emacs, so talking about the peculiarities of MS Windows is off-topic. I'll just say this much more about it.... I was giving the old Windows interfaces as an example of where Hungarian Notation can be useful even though the language has types. If Microsoft have finally fixed it in MSVC then that's great for people using MSVC. It still shows that the problem can happen. It may not help old programs though, and the classic Windows interface is mostly for old programs. In the past programmers often wouldn't cast handles correctly. Sometimes variables were declared with HANDLE. It will help old programs that were written carefully. I agree with the criticisms Eli Zaretski, Rusi and Pascal Bourguignon made of what I wrote. I was trying to make things simple. I could have been more precise and kept things simple. BR, Robert Thorpe