Not sure which code you mean. I do have less maximally polymorphic code than just plain bad code. My argument is not against maximal polymorphism, but against unnecessary maximal polymorphism. Why abstract over something that is always going to be concrete?
I appreciate that style. I put a high value on having less code in each of my projects, and fewer interactions between my projects. It's such a blunt metric, having less code does seem to mean fewer bugs. (And also, I assert without proof that bugs are rarer in generic code!)
-
-
I have no problem with that assertion. Generic code is, in my experience, objectively more correct. It's just that I put a lot of weight on code readability, and there comes a point where the correction guarantees are not sufficient to justify the cost in readability.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.