Forum Controls
Spotlight Features

The Rich Engineering Heritage Behind Dependency Injection

Andrew McVeigh takes us on a tour of the rich heritage behind dependency injection, what it represents, and tells us why its here to stay.

NetBeans 6: Matisse Updates

NetBeans 6 delivers great updates to the Matisse GUI builder. Spend a few minutes with Roman Strobl and get an expert briefing on what's new and what has changed.

Introduction to Groovy Part 3

In this, the third and final installation of Andres' Introduction to Groovy series, you learn about how Groovy handles variable numbers of arguments, named parameters, currying, and more about Groovy operators. Including, some new operators.

Easier Custom Components with Swing Fuse

Swing Fuse (actually just Fuse), is a framework designed to make it easier to create your own custom desktop components. In this article, Daniel Spiewak shows you how to get started and provides sample source code you can download.

Benchmark Analysis: Guice vs Spring

Willam Louth shows how he uses JXInsight Probes to investigate probable performance issues with code bases that he is not familiar with. He also highlights possible pitfalls in creating a benchmark, as well as in the analysis of results.
Replies: 9 - Pages: 1  
Threads: [ Previous | Next ]
  Click to reply to this thread Reply

OO exam contains non Java objectives. Should this be improved?

At 3:20 PM on Apr 20, 2007, iwein wrote:

Based on the objectives of the OO exam I added question 19001. This question is about the diamond problem (inheriting two times from the same class through different paths). In the objectives it clearly stated that "common ancestor inherited twice" is part of the exam.

Since I found no questions about that I decided to add one. Now all the comments about the question complain that it's not about java. You could argue "read tf objectives", but we are Java BlackBelt right? Should the objectives be changed?

Thanks for your thoughts.
1 . At 8:51 AM on Apr 21, 2007, Henryk Konsek wrote:
  Click to reply to this thread Reply

Re: OO exam contains non Java objectives. Should this be improved?

Briefly: You're right - they're not :)

This is JAVABlackBelt due to the fact that JavaProgrammersWhoKnowOOConceptsBeacuseThisIsImportantBlackBelt would sound bit silly :)

Some frustrated users complain even about UML in the OO Basic stating that this kind of knowledge doesn't improve their proficiency in Java Programming. No comment on that :)

I understand that we promote the higher IT culture here, not the I-have-read-delphi-tutorial-in-3-days-so-i-am-programmer approach so if anybody tell me that this kind of questions should not be here I just kindly explain him/her that he/she should refer to the objectives.

I believe that the fact that every serious Java programmer should know UML/OO is an axiom and that we shouldn't discuss it or convince anybody that it is right.
http://jheniu.blogspot.com http://www.javablackbelt.com/UserView.wwa?userId=3523423
2 . At 12:03 PM on Apr 21, 2007, Jeanne Boyarsky DeveloperZone Top 100 wrote:
  Click to reply to this thread Reply

Re: OO exam contains non Java objectives. Should this be improved?

What HenryK said++

If people want to discuss it, direct them to JavaBlackBelt. We are happy to hear feedback on the objectives. I'd love to hear a strong argument for why UML shouldn't be tested. And the reason I'd love to hear it is because I don't think there is one.
3 . At 2:25 AM on Apr 22, 2007, iwein wrote:
  Click to reply to this thread Reply

Re: OO exam contains non Java objectives. Should this be improved?

I'd love to hear a strong argument for why UML shouldn't be tested. And the reason I'd love to hear it is because I don't think there is one.

Well about UML I think you'll get less of an argument as it is clearly a language that a Java programmer will need to understand in certain contexts in his daily work.

I am all for having exams about different topics on JavaBlackBelt. I'm very happy to see a ruby exam for example. Maybe we should also have Smalltalk, Perl, BNF? On the other hand I'm very happy that these exams are not on the belt track.

Specifically, the original post is about the diamond problem. The reason that it was decided to not implement multiple inheritance in Java is so that programmers wouldn't have to worry about the problems associated with it. I think this has worked. I have never worried about this problem after I started my Java career (until I started making that question).

I can very well understand the frustration of a proficient Java programmer if he fails his green belt exam due to a question that has absolutely nothing to do with Java.

So the argument is: "There is no reason a Java programmer would benefit from knowing about the diamond problem in the context of his work. Therefore this knowledge should not be tested in the context of JavaBlackBelt."
4 . At 6:02 AM on Apr 22, 2007, Henryk Konsek wrote:
  Click to reply to this thread Reply

Re: OO exam contains non Java objectives. Should this be improved?

All right, lets assume that you're on the programmers party (I know, it sounds scary :P) and you're drinking beer with the C++ people. During this interesting conversation sb states that Java sucks because it doesn't provide multi-inheritance, while their beloved C++ does. What would you response?

a) "C++ sucks, in your face..." and start a fight in the bar.
b) Describe the diamond problem and watch how they're holding theirs tongues with the deepest respect :P

In conclusion - the is also the part of the higher Java culture. Why Java provides interfaces (not only abstracts)? Why Java doesn't allow you to cast ClassA to ClassB if they are not inheritance-related even though size of the objects are equal? And finally why Java does not provide the evil pointers? The issues above aren't necessary in order to program Java but I prefer to understand them than not to.

I'm also the great fan of the non-Java exams. I would be very happy for example if sb create separated Networking exams. For example separated exams for both lower (Ethernet 802.3 IEEE exam, Wireless 802.11 exam) and higher (HTTP, SFTP, SMTP) OSI layers. Of course such exams could create separated sub-track, for example Networking track. However I'd love it. And of course, you don't have to understand in details how CSMA/CD works in order to use java.net package, but once again, imagine the programmers party... :P
http://jheniu.blogspot.com http://www.javablackbelt.com/UserView.wwa?userId=3523423
5 . At 1:25 PM on Apr 22, 2007, Jeanne Boyarsky DeveloperZone Top 100 wrote:
  Click to reply to this thread Reply

Re: OO exam contains non Java objectives. Should this be improved?

> Specifically, the original post is about the diamond
> problem.
Oh. I should have read the whole thread. Sorry.
6 . At 4:40 AM on Apr 23, 2007, Evgeniy Platonov wrote:
  Click to reply to this thread Reply

Re: OO exam contains non Java objectives. Should this be improved?

I had answered to one of comments in the question some later before I saw this thread. And my point of view is that such things should be there. This exam is not only of Java. And this is can be find in the main page of exam. If someone doesn't want to read it's his/her problem. Thee could propose changes in forum or in comments to the exam's category.
But I believe, you couldn't be a good Java developer (not programmer) without knowing OO basics.

Evgeniy.
http://www.javablackbelt.com/UserView.wwa?userId=3512464
7 . At 5:17 AM on Apr 23, 2007, iwein wrote:
  Click to reply to this thread Reply

Re: OO exam contains non Java objectives. Should this be improved?

=Off topic=
Programmers party... interesting concept :D. Are we at one right now?
Btw, I would opt for option a) any day. It's a C++ programmer, a geek! I'll kick his ass with my left foot.
8 . At 6:04 AM on Apr 23, 2007, Chinh Nguyen wrote:
  Click to reply to this thread Reply

Re: OO exam contains non Java objectives. Should this be improved?

*** Off-topic too :D ***
I'd go for a) I don't think any C++ lover would want to hear about the diamond problem with his brain drowned in beer :D You'd be in a fight no matter what :D Better take the advantage :P
Brown Belt #1450799
9 . At 11:08 PM on May 18, 2007, Pravin Jain wrote:
  Click to reply to this thread Reply

Re: OO exam contains non Java objectives. Should this be improved?

I am favour of keeping the objectives as is. This is not unrelated to java, since it highlights the fact about why java does not allow multiple inheritance of classes. Thanks for a good question in the OO category.

thread.rss_message