163
votes
Novice programmer(s) frustrated by lack of a glossary of compiler errors
A few useful techniques:
Turn on -Wall and -Werror. It might seem counterintuitive when you're struggling with deciphering error messages to create even more error messages, but the warnings are ...
56
votes
Novice programmer(s) frustrated by lack of a glossary of compiler errors
Your friend does not need a glossary. A glossary will not help him. What he needs is better intuition about what to do when compiler errors occur.
C compiler errors are not as intuitive as, say, C# ...
27
votes
Novice programmer(s) frustrated by lack of a glossary of compiler errors
A relevant technique worth mentioning is using a second compiler. Clang has invested in better error messages, for instance, but any alternative way to phrase the error can be enlightening.
This is ...
13
votes
Novice programmer(s) frustrated by lack of a glossary of compiler errors
Someone made an attempt at a GCC error glossary on Wikibooks a while ago, but it looks like it never quite took off and hasn't been updated.
The "Errors" section is much further along than the "...
12
votes
Novice programmer(s) frustrated by lack of a glossary of compiler errors
In addition to the above answers, note that most compilers don't have comprehensive error glossaries -- these would be a lot of work to maintain as the messages themselves often change, and there are ...
8
votes
How to determine ROI on developer training?
When dealing with management everyone suggest framing the problem in the context of money, ROI, etc. And that has indeed the largest chances of success. But not in this case. The problem here is you ...
6
votes
Novice programmer(s) frustrated by lack of a glossary of compiler errors
The C Standard uses a number of terms like "lvalue" and "object" in ways that are different from other programming languages, and compiler messages are often written in such terms. The use of ...
5
votes
Novice programmer(s) frustrated by lack of a glossary of compiler errors
I'm surprised no one gave the obvious answer and, I suspect, the one most often used in practice: just don't read the error messages.
The vast majority of the value of most error messages is simply ...
4
votes
Novice programmer(s) frustrated by lack of a glossary of compiler errors
Another technique would be for the friend to write his own glossary over time as he encounters different error messages. Often the best way to learn something is to teach it. Of course, by the time ...
4
votes
Novice programmer(s) frustrated by lack of a glossary of compiler errors
So, how should a novice programmer approach the challenge of understanding compiler error messages? Specifically, with the combination of C and GCC?
Tell your friend to do the following when ...
2
votes
Accepted
How to determine ROI on developer training?
Your real problem may be your management at least claims it is important, but you conclude that it isn't because they don't do anything. I think you need to take additional steps to make this happen (...
1
vote
Accepted
How do I measure the effectiveness of training for a new software testing tool?
Write down some performance targets before training starts.
Assign a homework problem at the end of each (hopefully short) training session.
Evaluate performance on each one, including elapsed man ...
1
vote
Accepted
Evolving thought process and design thinking
How would you implement a StringBuilder class from scratch?
By thinking very seriously about why I have to implement StringBuilder from scratch.
The proper reaction to that question is to ask "why?"...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
training × 47education × 6
c# × 5
junior-programmer × 4
java × 3
documentation × 3
teamwork × 3
c++ × 2
javascript × 2
management × 2
self-improvement × 2
team × 2
maintenance × 2
books × 2
tools × 2
meetings × 2
industry × 2
mentor × 2
design × 1
design-patterns × 1
architecture × 1
php × 1
unit-testing × 1
programming-practices × 1
web-development × 1