wood burning stoves*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes What is the point of learning something the less preferred way? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "What is the point of learning something the less preferred way?" Watch "What is the point of learning something the less preferred way?" New topic

What is the point of learning something the less preferred way?

leo donahue
Ranch Hand

Joined: Apr 17, 2003
Posts: 327
I taking a break from reading my cert book to practice some mock exam questions for the chapters I've read so far. So far, I've missed every question because the questions are written in exactly the way in which my cert book tells me not to write java code.
What's the point?
Which two will declare an array and initialize it with four numbers?
int array[] = new int[4];
int x[] = {1,0,2,0};
So much for the preferred method of writing arrays and so much for the leaving out of the word "construct" from the question.
If I'm supposed to learn the "right" way to code, what's the point in being tested over the "wrong" way?

Thanks, leo
Brian Joseph
Ranch Hand

Joined: May 16, 2003
Posts: 160
Well, some of the debate about the certification is in it's usefulness of the tested material. With the exam it's all about legal syntax, how well you know the language specifications. Practical programming or good design is not part of it. In fact, you see mock questions which are written like nothing you'll probably ever see in the real world. I mean, I don't know if I'll ever actually have a need to know there is a difference between -0.0 and +0.0, and you really only need to know one or two ways to create an array.
But, for the purposes of getting the certification, you'll need to know some of the details. Once you take answer a couple hundred practice questions over the course of a few weeks it'll be a lot easier.
Actually, I think studying for this is worth it. I've already noticed that I have a greater understanding of the code I'm writing. I'm just aware of more possibilities with the language now, and it is easier to explore them since I know what the language is capable of. I didn't have that type of in-depth knowledge before.
chi Lin
Ranch Hand

Joined: Aug 24, 2001
Posts: 348
I agree with Brian,
For exam purpose, you may be forced to momorize something real world programmer does NOT worry a bit in order to response correctly/efficently in the exam ... (I forgot most of them after the test as I did not encounter them daily to refresh my memory)
good thing is, when you encounter something similar later on, you know the path to look for answer.

not so smart guy still curious to learn new stuff every now and then
I agree. Here's the link: http://aspose.com/file-tools
subject: What is the point of learning something the less preferred way?
Similar Threads
About Array reference assignments for One-D arrays
Sun Cirtification
FBN Design Brainstorm!
somebody help me this question(Operators)