On this page, we collect coding tips, advice and practices with which we have had good experience, but in 140 characters or less!
Please sign your tips or add a source (signature does not have to be added to the character count). You can use a counter.
At some point, we'll have to take the time and group/order these experiences.
Tips
If you have to scroll in your editor to understand what happens in a piece of code, divide & conquer. -- DanielNuest - 2014-09-04
If you plan a new functionality and you have to think long for the best class/package to put it in, it probably requires a new one. -- DanielNuest - 2014-09-04
Use semantically reasonable/meaningful verbs for method names. createBook() should only create the "Book" object, and a (required) author.
DRY - don't repeat yourself. If you see same code merely two times in your project, extract it to it's own method/class.
Do not restrict yourself to a single language, but increase your expertise by learning new languages and try to solve some problems with it. -- ChristianAutermann - 2014-09-05
Always end a coding session by creating a failing test. -- DanielNuest - 2014-10-06 [via