Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

NX: Design to be understandable by Junior Programmer

 
Barry Gaunt
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Some of the design concepts discussed on this forum are pretty "hairy". What does it mean when the assignment instructions say "A clear design, such as readily understood by junior programmers"? A junior programmer with say 1 to 2 years programming experience?
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 12012
216
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Barry,
In most cases, I think we meet the criteria that our designs are readily understandable by junior programmers.
That is, any given element can be explained (and put into documentation) very quickly and easily. Normally when something is not understood by a member here, someone explains it, often within a single post.
(That is probably a good hint to everyone working on their projects - if your code (or design concept) has had others in this forum crying out for explanations, then it probably requires comments to at least the level that it took to get the other person to understand it).
Sure, there are follow up questions, but that is going to happen in real life as well - the junior programmer will have questions on how to implement things, and why certain things were done a certain way.
It is a pity that you put this as an NX topic - I think it does apply to the old exam as well (can you change the topic name?).
Regards, Andrew
 
Max Habibi
town drunk
( and author)
Sheriff
Posts: 4118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think that the idea they're trying to convey is this: go with a simplier design, even if a more complicated design is 'better'. If your design has subtle beauty, and there was a simplier choice, then you probably should have gone with the simplier design.
All best,
M, author
The Sun Certified Java Developer Exam with J2SE 1.4
 
John Smith
Ranch Hand
Posts: 2937
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also, resist the temptation to go beyond the requirements.
Eugene.
 
color baby
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes,I agree with you .Beyond the Eaxm requirement ,as simple as you can.
 
Prakash Krishnamurthy
Ranch Hand
Posts: 154
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I initially read this, I was wondering if I should use Design Patterns at all, because not all junior Programmers understand design patterns.:-)
It is not very clear on what they want. I know someone who implemented read locks and did not allow any record to be modified even if someone else was reading it. This was much above the requirements. But, he passed the certification.
 
Max Habibi
town drunk
( and author)
Sheriff
Posts: 4118
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by color baby:
Yes,I agree with you .Beyond the Eaxm requirement ,as simple as you can.

Please change your display name, per the Javaranch policies.
Many thanks,
M
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic