Software development tips – part 2

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:

On blogging:

  • 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.

——————

Something wrong? Suggest an improvement or add a comment (see article history)
Tagged with: productivity, teams, writing
Filed in: tips

Previous: Resolving conflicts during a Git rebase
Next: Easy Github URLs from Vim

Copyright © 2005-2024 David Winterbottom
Content licensed under CC BY-NC-SA 4.0.