Why no SSCCEs?



It has just dawned on me why people are so reluctant to post SSCCEs or
snippets of code of any kind. I always thought was laziness or
perhaps inability to narrow the problem down.

Imagine you were to have a code review by say James Gosling, Bill Joy
and Joshua Bloch, on Internet TV. You would be scared to death.

That is likely what it feels like for newbies having their code
dissected here.

People seem to take criticism from a compiler without shame. They may
feel frustrated, but rarely embarrassed. Part of learning quickly is
to be willing to let other people look at your work. How else will
you learn? The more you do it, the less your fear.

Very rare indeed is a piece of code that could not be improved in some
way.

Perhaps we need to turn the tables every once in a while and have old
timers post snippets and have the newbies have a crack at critiquing
them.

--
Canadian Mind Products, Roedy Green.
http://mindprod.com Again taking new Java programming contracts.
.