View Single Post
Old 05-20-2009, 03:46 PM   #17 (permalink)
oldskool
oldskool's Avatar
 
Electrical Systems Design

Join Date: Jun 2008

Location: Maine, USA

Posts: 1,647

oldskool has a spectacular aura aboutoldskool has a spectacular aura about

Default Re: the tricky business of programming

Yes, however....

I gave the example of Javascript where that would not work, I can prove it when I get time.

Quote:
Originally Posted by CrazeD View Post
You are correct, Javascript does not require semicolons. I believe it treats a new line as an end of the previous statement. However I always use semicolons, just out of habit from other languages.
Wel I have had code go all haywire without them, and I know that was it because when I put the semicolons in it all worked ok.

Last edited by oldskool; 05-20-2009 at 03:50 PM.
oldskool is offline   Reply With Quote