2 ms·
I can't be bothered to find the source, but I have read that: Interestingly the Windows kernel type of Hungarian notation (iFoo) was set up because of a misund
by zamalek 13y ago
I can't be bothered to find the source, but I have read that:
Interestingly the Windows kernel type of Hungarian notation (iFoo) was set up because of a misunderstanding of the Office team's process. The Office team used the "sensible" form of hungarian notation (e.g. rPrice, cPrice - row and column respectively). The kernel team decided to borrow the idea, however, they didn't actually understand it completely when they did - leading to the mess of hungarian notation in the windows APIs we have today.
All of this would have been avoided if we had language support for units of measure[1] back then.
Edit: Seems like it was Spolsky's article: http://www.joelonsoftware.com/articles/Wrong.html http://www.joelonsoftware.com/articles/Wrong.html
[1]: http://msdn.microsoft.com/en-us/library/dd233243.aspx http://msdn.microsoft.com/en-us/library/dd233243.aspx