News for hackers. Stuff that matters.
Re:Code snippets on Microsoft website shown in form of images. by _delirium on Wednesday December 07, 2011 @07:44AM (#3323506)
Curious. Sometimes people do that sort of thing to avoid copy/pasting, but I wonder if in this case it's a poor man's way of getting syntax highlighting on the web: just screenshot an IDE instead of dealing with a syntax-highlighting-in-HTML tool.
Re:Code snippets on Microsoft website shown in form of images. by ryan_s on Wednesday December 07, 2011 @07:53AM (#3323539)
You are probably right. I've found the MSDN pretty inconsistent. There are a number of C#/VB.net examples that don't have any syntax highlighting at all.

It all depends which area you are in.

Re:Code snippets on Microsoft website shown in form of images. by brudgers on Wednesday December 07, 2011 @09:00AM (#3323758)
It's not just MSDN which is inconsistent.

Microsoft's web presence in general varies widely. The philosophy appears to highly favor providing access to knowledge/content over standardization of form/presentation.

The scale of Microsoft's web properties is vast and they do not waste resources trying to get a herd of cats to goosestep.

Re:Code snippets on Microsoft website shown in form of images. by lr on Wednesday December 07, 2011 @12:27PM (#3324752)
Re:Code snippets on Microsoft website shown in form of images. by bostonpete on Wednesday December 07, 2011 @02:08PM (#3325328)
What does that article have to do with the standardization of form/presentation?
Re:Code snippets on Microsoft website shown in form of images. by petercooper on Wednesday December 07, 2011 @08:31PM (#3327106)
More specifically, it's the only way to easily guarantee syntax highlighting in feed readers, e-mails, etc. The alternative is to hard code styles into the HTML everywhere but that's a nightmare to rig up.