|
Again Joe, you are saying that a procedural language is much more capableActually, it's not false. The problem has to do with being able to respond to change in the business world. OO languages, especially those with strong typing, work best for static problem sets: that is, situations where the rules don't change. That's because you can create a class hierarchy that depicts the situation today and not worry about it. The single worst thing you can do in OO is make the wrong dependencies, and no matter how good you are, radically changing business rules can invalidate your dependencies, thus necessitating a restructuring of your class hierarchy, which is the single most expensive operation in the programming world - certainly more expensive than a simple database change, which is the worst thing that will happen in a procedural world.
to respond to business change than a OO language. I really have to object
(nu pun intended) to this generalization which is completely false and misleading.
An OO language has more features than a procedural one to organize you're code into self contained modules and to make abstractions. Now, with these features youI disagree. If you're talking about the perfect world, then a good RPG programmer can do just as much abstraction using called programs and procedures as an OO programmer. The only OO feature that can't be easily mimicked is inheritance, and inheritance is exactly what leads to the rigidness I spoke of above. That's why most modern OO experts lean towards composition rather than inheritance.
you also have more possibilities to make a compete mess with random dependencies all over. And this happens a lot in practice.
Anyway, RPG on the "i" is, in practice, much more productive than JavaNot in my experience. OO is just another tool and it has strengths and weaknesses. It's primary weakness is that it reacts poorly to radical changes in requirements. That's what makes it less appealing for developing dynamic business rules.
on the "i". But this is NOT due to the OO capabilities of Java. To say that
procedural languages are much more capable of responding to business
changes is simply misleading.
In fact, when OO concepts are applied withNo, I don't wonder why. It's because most programmers aren't business programnmers. Ever wonder why there aren't many ERP packages written in Java? Ever hear about the San Francisco project?
care and thought, it's the other way around (ever wonder why most - or
all - popular languages all have OO features, even PHP?).
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.