Date Tags 2008

Meklējot informāciju par "frameworkiem" atradu šo komentāru:

"I want to slap the a$$ who came up with OOP. You keep telling yourself that it’s better than procedural code while you jerk off to that abstract object. While you’re still trying to fit everything into objects, I’m already done writing an application and have already started a new one.

<?php
//OOP
class helloWorld {
function myPrint() {
print Hello, world.;
}
}
$myHelloWorld = new helloWorld();
$myHelloWorld->myPrint();
?>

<?php
//Procedural
print Hello, world.;
?>

WTF??"

Es, protams, nepiekrītu un ne jau visur ir jāizmanto oop, bet komentārs labs...

p.s. Saite.


Comments

comments powered by Disqus