The Artima Developer Community
Sponsored Link

Java Buzz Forum
The real world doesnt have time for OO

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Marc Logemann

Posts: 594
Nickname: loge
Registered: Sep, 2002

Marc Logemann is founder of www.logentis.de a Java consultancy
The real world doesnt have time for OO Posted: Jul 5, 2004 2:04 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Marc Logemann.
Original Post: The real world doesnt have time for OO
Feed Title: Marc's Java Blog
Feed URL: http://www.logemann.org/day/index_java.xml
Feed Description: Java related topics for all major areas. So you will see J2ME, J2SE and J2EE issues here.
Latest Java Buzz Posts
Latest Java Buzz Posts by Marc Logemann
Latest Posts From Marc's Java Blog

Advertisement

I got this mail in a java/iSeries maillist, perhaps he (Joe Pluta) is right perhaps not, judge yourself ;-) (quoted stuff are my statements)

>From: Marc Logemann
>>
>> If you have an Article which knows how to calculate itself generally,
>> you can create a child of
>> Article, for instance Batharticle, you can easily override the
>> calculation for that, reuse the
>> one the Article has or even mix both caculations.


This will never work in the real world where you have hundreds,
thousands or even millions of individual items. Are you going to create
a separate class for each one? Or are you going to somehow specify in
the item master file which class the item belongs to? It's clear to me
you've never really done this, except as a thought exercise.

>> All this in a defined
>> namespace resulting readable
>> code.


Namespaces can be done in procedural code just as easily. IBM allows
long, mixed-case names for procedures, so it's quite easy to do your own
namespace. I don't look to the language to enforce my naming
conventions.

>> In procedural languages, you mostly have function-collections with
>> name clashes which call
>> each other quite wildly. To me, working with Inheritance or OO in
>> general makes reading code much
>> easier, its more expressive.


See? You've already started using soft words like "expressive".
Experssive is in the eye of the beholder. If you have lots od name
clashes, that simply means you're careless in your naming.

>> If business programming can be achieved with Java? Look at all those

big

>> projects going on, most
>> banking applications are converted to java,


Such as?

>> ebay is on the way to be
>> converted from procedural
>> stuff to java.


We'll see how that goes, but if Java were so great, there would be a lot
more success stories in the six or seven years it's been around.
Instead, there has been pretty much nothing but spectacular failures
such as the San Francisco project.

>> IBM is trying to move all its customers to java, so i
>> think, business programming is not so cumbersome at all.


IBM wants you to move to Java so it can sell you more hardware, pure and
simple.

>> If you speak of quick hacking, OO is not
>> the perfect choice, then
>> you are better of with also not using ILE. Then RPG/400 is the way to
>> go ;-) Or use one of these
>> sillly iSeries 4GL RAD Tools like Magic or the other one whose name i
>> forgot.


Marc, I get the idea you've never actually coded in a production
environment. What you call "quick hacking" I call responding to
external business decisions. Such as "Today customer XYZ gets a 10%
discount on the anything he's never bought before." I can code that in
a few lines of RPG and insert it into the appropriate place in the job
stream. With OO, I have to first figure out which class calculating the
price, then be sure it has access to the history information. If not, I
probably have to change the method to make that information available.
That probably involves adding a new method procedure. Then I probably
have to JAR up the new class and insert it into the web server, which
usually involves bringing the application down and restarting it.

Sorry, Marc, but the real world doesn't have the time for OO.

Joe

--
This is the Java Programming on and around the iSeries / AS400 (JAVA400-L) mailing list
To post a message email: JAVA400-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.

Read: The real world doesnt have time for OO

Topic: Great Artists Steal? Apple Developers Should Walk Out Previous Topic   Next Topic Topic: Javablogs and WWDC Through the Bottom of a Glass

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use