Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Yoda coding styles
Message
De
23/04/2006 16:19:12
 
 
À
21/04/2006 09:30:27
Mike Yearwood
Toronto, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01115355
Message ID:
01115834
Vues:
22
I think one should keep an open mind. For example, in a recent message to me Fabio Lunardon used the following:
SELECT cFromIP ;
	,	cPortProt ;
	,	cToPDom ;
	,	cToFDom ;
	,	COUNT(*) counts ;
INTO CURSOR GpTest1 ;
		FROM Logs1;
		GROUP BY 1,2,3,4
I don't know if Fabio purposely wanted tabs expanded out to 8 characters but that's not what's interesting here. I'd never before considered putting the comma for a list extension at the START of a new line, but it's thematic in the same way as:
* This

m.lcSomeVariable = "SomeLongStringOrFunction1" ;
  + "SomeLongStringOrFunction2" ;
  + "SomeLongStringOrFunction3" ...

* is preferable to

m.lcSomeVariable = "SomeLongStringOrFunction1" + ;
  "SomeLongStringOrFunction2" + ;
  "SomeLongStringOrFunction3" ...
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform