Plural conventions

Memorability is a key component of software development. So please, when you are developing software, pick a plural convention and stick with it. If you are going to call your database table “users” (since it holds many user records), then refer to your model with the same plural. If your user object is an instance of one user, then please refer to it singularly as “user”. The same rules need to apply throughout your design and implementation.

The key is that it should be easy to remember the convention once you know the rules (and the less rules, the easier it is to remember them!). I don’t mind what rules you use. The problem, and reason behind so many developer flame wars, is inconsistency. We think in patterns and systems, and nothing irks us more than when those patterns and systems break for no good reason.

Multitail

If you spend a lot of time watching and working with log files on Linux systems, then you’ll love Multitail.

It’s a simple install with yum –

$ sudo yum install multitail

I’ve only just discovered it, and here’s some of the things I really like about it:

  • Forwards/backwards scrolling, great for terminal windows (f/b keys)
  • Search (/ key)
  • Syntax highlighting, including apache, mysql, log4j and other log formats (c, then S for scheme)
  • Press F1 to get more help

Mac Finder navigation shortcuts

Two really handy keyboard shortcuts for navigating around a file system on a Mac.

  • In finder you can press cmd+shift+G to go to any location directly.
  • In an file dialog windows, press the / key to specify the save location or starting location.

This makes it so much easier to set where to go or save things than trying to use the standard finder GUI.