Code snippets on Microsoft website shown in form of images.
msdn.microsoft.com
Code snippets on Microsoft website shown in form of images.
1–10 of 58 posts
Re: Code snippets on Microsoft website shown in form of images.
#2Curious. 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.
#3I hope it was an accident/mistake, otherwise it makes Microsoft look ridiculous as fuck.
Re: Code snippets on Microsoft website shown in form of images.
#4Re: Code snippets on Microsoft website shown in form of images.
#5Curious. 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.
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.
#6It's probably a one-time problem with the person who created the page. on msdn microsoft has code highlighting and even samples in other .net languages. example: http://msdn.microsoft.com/en-us/library/ms132397.aspx
Re: Code snippets on Microsoft website shown in form of images.
#7Any reason why they would want to prevent the code from being searchable from external search engines? Software patents..etc.
Re: Code snippets on Microsoft website shown in form of images.
#8I hope it was an accident/mistake, otherwise it makes Microsoft look ridiculous as fuck.
For a company of 92,000+ people I am sure there are at least a few C and D-level people in charge of MSDN content.
However, for a company of 92,000+ people, I would have also assumed there would be a standard tool or process for doing this sort of thing.
Edit: updating employee totals. Holy crap MSFT is big.
Re: Code snippets on Microsoft website shown in form of images.
#9More importantly, that is some of the nastiest looking JavaScript I've seen in a while.
I think MS are doing everyone a favour.
Re: Code snippets on Microsoft website shown in form of images.
#10I think a more disturbing detail here is the alt text being used on the images themselves:
Description: \\christw4\c$\TranslatorHelp\en-us\GSG_files\image014.png
Description: \\christw4\c$\TranslatorHelp\en-us\GSG_files\image015.png
edit formatting