01-30-2008, 07:00 PM
|
#11 (permalink)
|
|
The Frequenter
Join Date: Dec 2007
Location: Bucharest, Romania
Posts: 438
Thanks: 3
|
OOP is recommended over procedural code for exactly this thing (amongst others, of course): not outputting stuff. A class is a library, which performs its inner workings, but the output should be implemented by another library and/or by the application itself. The logic class is ment to work when ever, where ever is needed, without having to worry about what content it generates.
__________________
I have optimistic thoughts, even though sometimes (if not always) life's a bitch.
|
|
|
|