David Roberts

Ranch Hand
+ Follow
since Nov 03, 2000
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by David Roberts

I've just recently seen this recommended. I don't understand it. I've used interfaces for years but never one for every class, i.e. IPerson for Person.

The designer sais it offers protection. I responded that if the public signature must change, the interface will be MORE difficult to maintain.

I explained polymorphism, factories using a product analogy ect... He remains insistent that this is a good design.

Am I missing something here? This seems like a C header throw back to me.
I'm looking for Websphere App Server Standard 3.5 to prepare for certification. Unfortunaly I can only find version 4.0 for Windows and 3.5 for SuSe which I don't have.
Anyone know where to get an eval copy?
------------------
David Roberts - SCJP2,MCP
23 years ago
Congrats! Excellent work.
------------------
David Roberts - SCJP2,MCP
I did an experiement a while back. I wrote a small program with the requirement of not using IFs and Switches. It was very interesting and kind of fun, but after writing it, it was obvious that not having IFs was going to far. I also kept myself from cheating by using do while as IFs.
anyway, it's a cool little thing to try, but not really something I would recommend in your job.
------------------
David Roberts - SCJP2,MCP
I recall when I took it that some of the wording was a bit confusing and a lot of the diagrams were down right terrible.
I don't feel time was a big factor either, but the test covered a lot of ground.
I would recommend no one try and take the test on a monitor with less than 1024x768 resolution. If you get stuck with 640x480, it would be a real challenge to deal with the diagrams.
------------------
David Roberts - SCJP2,MCP
Mark,
That's a good point. Except an Integer has operations, and attributes don't have operations, plus your talking design/implementation, which is not a concern in analysis.
The Integer class is an an example of the Adapter design pattern in my opinion, while an int is a simple number that can be used in OOA.
I would thing that Craig Larman might be considered a OO Purist? Or maybe he's an OO Realist??? He supports simple attributes as OO.
Maybe you guys are right and purists don't think it's true OO, if that's the case call me a Realist...

------------------
David Roberts - SCJP2,MCP
I've been really busy. Unfortunatly in the MS world. Hopefully in the next few weeks I'll get back to doing a little Java here and there and going for my ICSD.
------------------
David Roberts - SCJP2,MCP
Hassan,
I forgot to mention. I don't mean to come off as harsh toward you. I enjoy these types of discussions, otherwise I wouldn't reply.
------------------
David Roberts - SCJP2,MCP
I don't believe OO means everything is an object. Even in Object Oriented Analysis there are primitive attributes.
So what about static methods? Well since one of OO's intententions is to allow us to model the real world, the question is, does the real world containt something that a static method might emulate?
I'm willing to bet it does. Some operations in real life, at least to the point we want to capture them, are always the same even in seperate instances of these real world things. Also, some things are static and final right?
Maybe like a post-it. Presuming you want only so much precision each post-it has the same level of stickyness that could possibly be measured by a simple data type like a number... this number becomes static and final.
Basically I'm with William on this, except I like arguing a bit more It's rediculous to think that it matters, or that anyone actually has a useful definition. The fact is, do you have a use for it? Is it necessary? Is is an embelishment?
If it's necessary, helpful, understandable or more or less useful then it doesn't really matter.
I personally have never seen a large application be successful and completely OO, so maybe even if it's not pure OO, that's a good thing.


------------------
David Roberts - SCJP2,MCP
Desai,
You read the book in 4 hours? I must be a slow reader. It probably took me over 10 hours to read it. I've been improving my reading speed a little. Any tips?
------------------
David Roberts - SCJP2,MCP
Desai,
I haven't been around for awhile but I see you've passed the test. Excellent, you're the first OCED I've talked to.
I'm curious, have any opportunities followed your Enterprise certification?
------------------
David Roberts - SCJP2,MCP
It is possible to pass the test with only UML Distilled, and some good experience. If you do not have good experience in OO I highly recommend you read Larman's book for the test and yourself.
------------------
David Roberts - SCJP2,MCP
So what's the cool acronym for the cert?
I suggest ICXD!
------------------
David Roberts - SCJP2,MCP
It's kind of weak that's it's hard to test for. MSXML4 also allows it. Has anyone tried it with Xerces?
------------------
David Roberts - SCJP2,MCP