Wednesday 29 August 2012

Microsoft Visual (Studio) Joke 2010

I've been using VS2010 for a while now. At first I was very impressed, but at the end of several months I'm just plain depressed at the time its wasted.

I'll list a few of the "jokes on you" / "waste hours of Dev time while Microsoft lol" features.

1) inline (the ability to force code to be compiled directly into the function rather than existing as a called piece of code) does not in fact exist, even though there like 3 keywords for it. At least, it does not exist in any useful way. It exists in the same way a cloud exists, its nice to see but doesn't help.

We have:

inline,
__inline,
__forceinline

If you read the documentation (and you can, or would be best just ignoring this waste of your life force). To save you the wasted effort, here are the only two lines which matter.. first the line which offers hope:

"Even with __forceinline, the compiler cannot inline code in all circumstances."

Right at this point I was optimistic. Then I read the next salient line:
"The function or its caller is compiled with /Ob0 (the default option for debug builds)."

So, inline is completely f**king useless to everyone. To retell this in more human terms, its like a friend who says "Sure, I'll help with the washing.. just give me a call and if I'm free ill help..." and that friends pretty much never free, or if he is its basically when he was having to have helped anyway. Therefore entirely at the discretion of that friend and your "words" don't change it. I guess if you DEVELOP your code in release build you might be ok >.<. If I f**king bother to type the word inline I WANT it to appear inline (regardless of you knowing any better... because you DON'T know better your just a damn tool *vents at VS2010*).

2) Non-Cancellable search, and search which isn't reliable.

So, if I dare to mistype what I'm looking for I am forced to wait for 2/3 seconds watching the hour glass equivalent and / VS go to a hung window. The positive side of this is it is damn well forcing me to avoid typos and remember more.

Yes. I am just peeved xD.

VS2010 is in fact a reasonably good engine. Its just screwed over by some dodgy decisions to take control away from the developer.