This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
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

General: Code publishing

 
Barry Gaunt
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<spoilsport>
I have noticed that in a few of the Developer Certification threads actual code being used in assignments is being published and discussed. Is this really necessary? I am of the opinion that discussions should stop at pseudocode or useful but vague hints.
</spoilsport>
Please discuss.
I am relatively new to this part of JavaRanch so forgive me if this has been discussed before.
-Barry
[ April 20, 2003: Message edited by: Barry Gaunt ]
 
John Smith
Ranch Hand
Posts: 2937
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I see nothing wrong with code snippets. To use the posted code, one needs to understand it, put it in the context, and connect it to other parts anyway, so 90% of work still has to be done.
Besides, posting a pseudocode for something like the code below would be a bit silly:

Notice that we never discuss the questions on the follow up exam, -- this is what it is for, -- to make sure that you did your work and understand it.
I agree, there is a potential for abuse by stealing the complete posted solutions, but you rarely see it in here.
Eugene.
[ April 20, 2003: Message edited by: Eugene Kononov ]
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also, the code posted never gives the answer away. We are all carefull on that point.
Now, sometimes, someone might post their entire CriteriaFind method. In these cases they are removed pretty quickly.
We keep a sharp eye out for over excessive code posting that would give too much of the assignment away.
Mark
p.s. The Sun people also have spies here, that watch our every move, and if it gets out of line, well, I'll just say "Watch out."
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic