Partial Classes - Duh!! Did I read it right?
I have been trying to understand the use of partial classes in .NET so far no luck.
To me who has maintained code in C/Unix especially stuff like image processing on IRIX
or a message server the idea of code for a functionality in multiple files is HORRIFYING.
God was I happy the day I moved to C++ where something called ABSTRACTION and
ENCAPSULATION was used. At least I could maintain code without doing a GREP everytime
I wanted to find a code or wanted to check for impact when I changed how a function or variable behaved.
Partial classes gives you the POWER to write your code in 30 files. WOW!! bright idea .. I am surely dumb as I cannot appreciate this.
BTW this was favourite topic of argument with Shriram.
I have been trying to understand the use of partial classes in .NET so far no luck.
To me who has maintained code in C/Unix especially stuff like image processing on IRIX
or a message server the idea of code for a functionality in multiple files is HORRIFYING.
God was I happy the day I moved to C++ where something called ABSTRACTION and
ENCAPSULATION was used. At least I could maintain code without doing a GREP everytime
I wanted to find a code or wanted to check for impact when I changed how a function or variable behaved.
Partial classes gives you the POWER to write your code in 30 files. WOW!! bright idea .. I am surely dumb as I cannot appreciate this.
BTW this was favourite topic of argument with Shriram.

0 Comments:
Post a Comment
<< Home