solidoodlesupport wrote:I've never understood why novice coders refuse to comment code. It seems quite natural to do in all situations.
My experience with the code was trying to find where the defaults were stored. In Pronterface these defaults are quite easy to find (and modify for the Solidoodle's unique temperature requirements.) I've asked the dev a few times to help me find them, but he seemed more concerned with trying to sell us consulting. I'm sure I've passed them by a hundred times - just didn't know where to look.
Not that I've been able to devote hours to decoding things.
As a programmer for a living, really good clean code needs no comments at all. It literally tells you exactly what it's doing. (This is always a hot topic for programmers)
Read the book by Bob Martin called "Clean Code" and you'll see there is a lot a programmer can do to write good SOLID (yes that is a programming acronym) code that is easy to read, and easy to maintain with very few if any at all comments.
When I see a section of code that has more comments than code it smells funny. Comments can lie about what that block of code is doing anyways.
If you keep the cyclomatic complexity down and follow the single responsibility principle, using well named methods and variables you just don't need comments since they are usually redundant.
Being novice has nothing to do with why a coder does or doesn't comment their code. And uncommented code has very little proof that coder is a novice or not. A novice usually writes a lot more code than is needed, it smells funny, has high cyclomatic complexity, lacks the use of design patterns, and is usually a nightmare to maintain.
I didn't look at slic3r's code so I can't tell you if it's sloppy code or not, you're right that perl is a little vague in general which is why I'd never use it for a larger project that will grow and grow over time.