Please, stay on technical issues, avoid behavior, cultural, career or political issues.
|
locked by Yannis Rizos♦ Mar 13 '12 at 20:52
This question exists because it has historical significance, but it is not considered a good, on-topic question for this site, so please do not use it as evidence that you can ask similar questions here. This question and its answers are frozen and cannot be changed. More info: FAQ.
|
User mistakes are not; they are usability mistakes:
Not to pick specifically on GNU Tools or GNOME, but these were the easiest examples to come up with. |
||||
|
|
|
Big O notation and its implications. Some useful references |
||||
|
|
|
Speaking of commercial software dev here... Obviously might not apply to a DOD security system or a hedge fund quant.
|
||||
|
|
|
Every programmer should bind FindNextSelected and FindPreviousSelected actions (visual studio) to keyboard keys (preferrably F4 and F2). You get two things from that:
|
||||
|
|
|
Never blame on the user what could be fixed with a cleaner user experience or better documentation. Often, programmers automatically assume the user is an idiot who can't do anything right, when the problem is a poor overall experience or lack of communication. Programs are meant to be used, and to treat the user with contempt is to miss the point of programming in the first place. |
||||
|
|
|
Don't stop learning. |
|||||||||||||||||
|
Know your OS/Platform before you start coding.If you code Windows/Linux/Android/iOS etc. start by learning the OS. If you target something else such as Web the same goes there. |
||||
|
|
|
Documentation is very important. More so if you are building something from scratch. It helps to document your ideas before writing any code. I learned this the hard way. |
||||
|
|
|
When you have to distribute an application or put a website into production outside the confines of your company, everything that you thought didn't matter, does. |
||||
|
|
|
Can't believe this hasn't been mentioned Every programmer worth is salt needs to be able to produce world ready software. By this I mean following basic internationalization principles such as externalizing all strings etc. I can't believe how many times I've seen hard-coded English strings or dialogs with truncated strings etc. when the product has been translated. |
||||
|
|
|
That whatever programs do, more than telling a machine how to do a work, they are a most unambiguous way of showing fellow human beings how to do a work. |
||||
|
|
|
When someone asks you to build something, remember: they are also asking you to maintain it. Possibly, forever. |
||||
|
|
|
Software Licensing Basics
Note to S.O. community: |
||||
|
|
Evaluation.A programmer ought to know how the statements they write are evaluated. I'm not just talking about the basic
which of course can just be replaced by I'm also referring to the ability to understand your language to the point where you can come up with something like this:
When I first saw a statement like that it blew my mind a little bit; it hadn't occurred to me I could leverage the for loop in such a way. The person who wrote that statement more fully understood the possibilities available to them - they saw more open doors than I, which gave them more freedom and power in their ability to design code. Now, whether it's good code is an issue - whether any of those doors should be opened - that's up to debate. It remains that with great power comes great responsibility. |
||||
|
|
|
It stands in a few letters, really: Ok, I'm over-simplifying, but basically if you are pretty autodidact, never stop to learn, and are a bit of a perfectionist, you should have the basis to become a good programmer. Anything beyond that would be more specific to particular roles and technologies. |
||||
|
|
|
every programmer should have a firm grounding in software engineering, and also system analysis/design and information systems concepts. this way if they are called upon to contribute substantially to systems analysis/design and/or information architecture, they will be in a position of knowledge + opionion..whereas normally it seems to be just personal opinion that usually simply stems from personal preferences instead of best problem solution. software engineering is a bit harder to measure, but the pre-requisite knowledge is available out there, and at suitable university degree courses where they teach more than just how to cobble a bit of code together. anyway this is not meant to be negative because the main spirit is but improvement, but then i've worked with some people who have no IT knowledge whatsoever or there's the single minded "script kiddies" that code and re-code (and only in their language of choice) and only see every problem as a repeat of previously applied solutions (by that coder.) so i would much prefer if programmers concentrated more on the larger picture in terms of software engineering (SSADM) and looked at problems as opportunities to do better for the client. |
||||
|
|
|
Some of these have been posted already, but here is my list:
|
||||
|
|
|
"Hello world" is not a complete application, as there is no demonstrated / programmatic assertion that the output is in fact "Hello world". Code is not complete until it has been unit tested. |
||||
|
|
|
There are some very good suggestions here, but I'm surprised no one has mentioned the excellent series of articles by Ulrich Drepper: What every programmer should know about memory. |
||||
|
|
|
Troubleshooting and Debugging Skills They hardly spend any time on this topic in any of the programming courses I took, and in my experience it is one of the biggest determinants of how productive a programmer is. Like it or not, you spend a lot more time in the maintenance phase of your app than the new development phase. I've worked with soooooo many programmers who debug by randomly changing things with no strategy for finding the problem whatsoever. I've had this conversation dozens of times. Other Programmer: I think we should try to see if it fixes it. |
|||||||||
|
|
Order of execution. You'd be amazed, when talking to programmers vs the people who've never seen or touched code or the pretend programmers*, the thing they don't get is the order of execution. If you meet someone who can't pick up on the control structures, get this idea in their head first. You'll find that they learn faster after that. *yes, those people who are able to get jobs as programmers, but when you ask them the simplest technical question they go brain fart.. I think we've all met one of those. |
||||
|
|
|
Hexadecimal notation. Also bit fields -- ANDing, ORing (inclusive and exclusive), complementing (1's and 2's), bit shifting. |
||||
|
|
|
If the system works and you change it and it stops working, the change you made is what broke it, even if that cannot possibly be the case. |
||||
|
|
|
Every programmer should know how to use the debugger, and know how to use it well. |
||||
|
|