Don't ask to ask, just ask | |
PerlMonks |
Re: Re: Re: Re: The world is not object orientedby hardburn (Abbot) |
on Jan 02, 2004 at 17:45 UTC ( [id://318368]=note: print w/replies, xml ) | Need Help?? |
All languages like java, php, perl, c++ and even c do, is dictate how OOP can and can't be usd. No, they provide the syntax for doing OOP. Java, for instance, allows you to make a class definition that is nothing more than publically-accessible attributes. Such a class uses Java's object syntax, but it isn't really an object. It's a data structure. If what you need is a data structure, that's fine, but don't call it an object just because it's syntax makes it look like one. ---- : () { :|:& };: Note: All code is untested, unless otherwise stated
In Section
Meditations
|
|