In JavaScript, curly brace placement matters: An example by David

Posted on Microsoft .NET Support Team See other posts from Microsoft .NET Support Team
Published on Mon, 24 Oct 2011 20:26:00 +0000 Indexed on 2011/11/11 18:15 UTC
Read the original article Hit count: 664

Filed under:
|
I used to follow Kernighan and Ritchie style of code formatting, but lost that habit. Not sure how may hours spent on fixing JS issues due to Allman format. Every time I feel bad whilst Visual Studio gives K&R style. Just realized the impotence of K&R style for JS. My Big thanks to David for pointing the curly brace placement issue with JS and posting such a nice article. In JavaScript, curly brace placement matters: An example

© Microsoft .NET Support Team or respective owner

Related posts about JavaScript

Related posts about Visual Studio