18 February 2009

Undermining your own argument, OOP-style

Say you want to convince me some assertion about programming languages. Perhaps your assertion involves object-oriented programming.

If your example is a class with public setters and getters for every private data member, then I’ve already stopped listening. Your assertion is rejected with prejudice.

If you have a good reason for using such an example, then point it out up-front, and I’ll give you the benefit of the doubt.

1 comment:

Craig Weeks said...

If your example is a class with public setters and getters for every private data member, then I’ve already stopped listening.

I see. Apparently the fact that it is just so very cool is merely necessary but far from sufficient. :)

It would also appear that you are edging ever so close to the assertion that the fact that I can is not reason enough that I should. Radical stuff, that.