From mboxrd@z Thu Jan 1 00:00:00 1970 From: Timur Tabi Date: Tue, 8 Jan 2013 13:09:24 -0600 Subject: [U-Boot] [PATCH] Introduce a global bool type In-Reply-To: <20130108190715.D2D14202B69@gemini.denx.de> References: <1357596628-27501-1-git-send-email-yorksun@freescale.com> <20130107223942.94BED20DA7E@gemini.denx.de> <6AE080B68D46FC4BA2D2769E68D765B70820541F@039-SN2MPN1-023.039d.mgd.msft.net> <20130108174920.BAB22202B69@gemini.denx.de> <50EC5D29.1070408@freescale.com> <20130108190715.D2D14202B69@gemini.denx.de> Message-ID: <50EC6EE4.1050901@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Wolfgang Denk wrote: > You are right. And I wrote that it's a bug. But this is what you can > easily get from using boolean types. This is example has not been > invented by me. I don't even claim that this was good programming > style - all I want to say is that from what I have seen the boolean > types are not a panacea; they cause new problems as well. I don't disagree with any of that, but I don't see what your point is. Every time you use a new feature, there are also new ways to use it incorrectly. By your logic, we should use no new features of the C language that were invented in the past 20 years. -- Timur Tabi Linux kernel developer at Freescale