> This is the way to go.
Agreed. Does anyone know of any reason to care about first/last, apart from it being part of My First SQL Database and sating our inner desire to create pointless taxonomies?
> This is the way to go.
Agreed. Does anyone know of any reason to care about first/last, apart from it being part of My First SQL Database and sating our inner desire to create pointless taxonomies?
I don't think there's an easy fix to this. Not everyone has a first and a last name, but in many places, cultural conventions (or legal practice) assume that you do.
In an ebook management system I've been developing, I use a full_name and a sort_name field for authors/editors/contributors, because books are a reasonable thing to want to sort by author names.
For example, in my studies I had cause to read many books by Hans Urs von Balthasar. Nobody ever referred to him as "von Balthasar," just "Balthasar," but his books were always sorted by the "von."
It's never not going to.
I'm pretty sure I've seen a by-name sorting scheme that excludes these sorts of prefixes for alphabetisation purposes. Of course, then you have to second guess whether you are using such a sorting system :)
Another reason is being able to generate various forms automatically: i.e. from "Fstname:William Robert, Lstname:Smith" to generate "William Robert Smith", "W.R. Smith", "Bill Smith", or just "Bill" without storing any of these variants separately.
Of course this may fail if "William" prefers to be called "Will", not "Bill"...
So, our software has a whole pile of names... FML, preferred, mailing, formal, sort name, and probably a few others I'm forgetting. It's a mess.