For some time, I have been thinking about language
contructs that are a pain when it comes to code management, readability and more
often than not inculcate poor coding habits amongst developers.
Morover, If I ever use more than 10 input ( + output
) parameters, and not think about a DTO, I would better stop
programming and start afresh on alchemy (not a bad idea
either).
There is goto but I will never let go of it,
reminds me of better times ( jmp is still there at the
top, and will remain), even though I prefer not to use
it.
Now with 2.0 comes another new one. partial classes.
The documentation more than tries to please the reader and clearly indicates
that this is really needed for Code generation, Windows forms underlined.
There is a problem here, not only is it *not needed*, it is
powerful enough for a set of developers to develop a bad habit, rather than
code. Ofcourse there are better ways to hide generated code, XAML
+/ inheritance (as with ASP.Net web-pages) for designs atleast, or arent't they?
Two developers maintaining a class is a maintainance problem, three
is a disaster. And partial interfaces ?
Posted
02-01-2005 12:57 AM
by
rsakalley