From: David Vallner Date: 2006-10-07T05:53:46+09:00 Subject: Re: What is the reason for this syntax? --------------enig78555F5272974ABBF9FA776F Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Kevin Olemoh wrote: > People really should be able to write code in the way that they > understand Let me introduce you to Real Life. This specific variant of that interesting game has you working as a programmer. And lo and behold, you work on a project with several people on it. And it's highly probable some 75%-90% of your work will be in a team, and some of that will be either maintaining code written by others, or writing code others maintai= n. People should write code OTHERS will understand. Irregardless of your personal preference, you are to use the prevalent / official convention in a given language when writing any nonpersonal code. Whitespace-sensitivity flames aside, this is one of the points on which Guido van Rossum is so right it ain't funny anymore. > ternary operator (A special form of if in c/c++) > Ternary operator isn't a special form of if in C or C++. I don't feel in the mood for prechewing and spoonfeeding, so no code snippets today. Also, for heaven's sake, LEARN a programming language before you flame it= =2E > I have a workaround Which you shouldn't use. [snip rest of rant] David Vallner --------------enig78555F5272974ABBF9FA776F Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (MingW32) iD4DBQFFJsJgy6MhrS8astoRAhWWAJ0SMfy49pe4xTfJvTD26j3VUSlW6QCXdqMW A7t03Iw5614MgCgJudm2wg== =3zC7 -----END PGP SIGNATURE----- --------------enig78555F5272974ABBF9FA776F--