This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---1463809521-1804614875-1223595336=:31114 Content-Type: TEXT/PLAIN; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE On Thu, 9 Oct 2008, Michael Rigby-Jones wrote: >=20 >=20 > > -----Original Message----- > > From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] On Behal= f > > Of Alexandre Guimar=C3=A3es > > Sent: 09 October 2008 14:26 > > To: 'Microcontroller discussion list - Public.' > > Subject: RES: RES: [PIC] Is there a IN statement > >=20 > > Hi, > >=20 > > >Always write the constant first. 5=3D=3Dy is valid, 5=3Dy is not > >=20 > > =09I do that ! My point is that we are in the 21st century :-) That > > should not be necessary. The compiler should take care of it. We do not > > think with the constant first. We need to make it that way because the > > language syntax is not good enough to catch "typo's" ! >=20 > The compiler does take care of it by providing a warning (unless it's a= =20 > really poor compiler); if you choose it ignore it that is your choice. = =20 > Why should the language have to change to the point of losing backwards= =20 > compatibility? Losing backward compatibilty is not a bad thing. The existing compilers=20 don't just suddenly stop working. I guess the problem is really to do with= =20 porting existing code to new platforms that don't have old compiler=20 support. I understand people's reluctance to do extra work when moving from one=20 version of a compiler to another but if there is a benefit then a little=20 bit of extra work is acceptable. The greater the benefit the more effort=20 is acceptable. Regards Sergio Masci ---1463809521-1804614875-1223595336=:31114 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist ---1463809521-1804614875-1223595336=:31114--