News for hackers. Stuff that matters.
Re:Code snippets on Microsoft website shown in form of images. by cbs on Wednesday December 07, 2011 @09:31AM (#3323890)
When the code was adjusted to fit on the website they lost a lot of the formatting, and severely hurt the readability of the code. It appears that the lines of code were rather long, but were word-wrapped to fit within the size of that image, creating linebreaks at unexpected places. The first and last lines of the block open and close curly braces, but the rest of the code is not indented.

Readability is something you need to be aware of, but don't worry about learning bad practice. You'll become opinionated pretty quickly on your own.

Re:Code snippets on Microsoft website shown in form of images. by troels on Wednesday December 07, 2011 @09:46AM (#3323943)
> .. but don't worry about learning bad practice. You'll become opinionated pretty quickly on your own.

So true.