On code smells:
If your codebase is tightly coupled to data in your database (ie the codebase has a data value hard-coded), it is a sign you should extract that data from your database into a code-layer model.
Never use numbered variable names (eg
account1 = ...) – there’s always a better way.
On good things I always tell team members about:
The writing and conference talks by James Mickens are great - start with “Computers are a sadness, I am the cure” from Monitorama 2014.
Jack Diderich’s “Stop Writing Classes” PyCon 2012 talk.
- One of the best things about writing in markdown is you can have comments
using the HTML
<!-- -->comment syntax.
On working habits to try:
Try typing with the keyboard on your lap.
Try typing with your eyes closed. I find I’m more accurate that way as there’s only one feedback steam (your fingers) rather than two (eyes and fingers).
Try listening to rain.today while working.