Re: Use of whitespace

"Aryeh M. Friedman" <[email protected]> Tue, 5 Aug 2003 18:30:39 -0400 (EDT)
Newsgroups gmane.comp.programming.pragmatic
Message-ID <[email protected]>
> 3. The code tends to be less complicated too. When you have this:
> 
>     for ...
> 	if ...
> 	    if ...
> 		if ...
> 		    if ...
> 
> 
> 	a = 1

	This implies forcing "empty" elses since th following whould have an unclear
maening otherwise:

	if age>=18
		if ags>=21
			drink=yes
		   else
			vote=no	

	--Aryeh

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark
Printer at Myinks.com. Free s/h on orders $50 or more to the US & Canada. http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/sO0ANB/LIdGAA/ySSFAA/W4wwlB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
pragmatic_lang-unsubscribe-hHKSG33TihhbjbujkaE4pw@public.gmane.org

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/