Em 13-04-2010 14:25, Tom Hacohen escreveu: > On Tue, Apr 13, 2010 at 3:53 PM, Rui Miguel Silva Seabra <r...@1407.org>wrote: > >> Em 29-03-2010 13:50, Sybren A. Stüvel escreveu: >>> On Monday 29 March 2010 01:43:37 Rui Miguel Silva Seabra wrote: >>>> A typical phone user is perfectly capable to fix the stored number to >>>> use international form if he intends to do so. >>> >>> My point is that a typical phone user shouldn't have to. The software >> should >>> support the user, not the other way around. >>> >>>> And for phone number to name match, nothing simpler: match from end, not >>>> from start of number. >>> >>> So everybody that has a number ending in "112" will show up as >> "emergency"? >>> The same goes for many phone provider service numbers that are shorter >> than >>> regular telephone numbers. >> >> That wouldn't happen, because the number is *much*longer* than 112. >> > > Have you heard of 911?
911 != 112 > Furthermore, I ain't gonna write broken code that > usually works. > And btw, this is not perfect, what will you do with > +972-3-1234567 > vs > 03-1234567 > ? > When you do things in a hackish way, you encounter idiotic issues :P len(+972-3-1234567) > len(03-1234567) 0097231234567 > 031234567 I see no hackish way. >>> I'm all in favour of KISS, but I think that usability is more important >> than >>> software design. >> >> One key item in usability is to do what users expect. Can you tell me of >> a phone that acts as you defend? >> > > This can be solved in other manners, furthermore, I have never seen a phone > that acts > like I expect it to concerning number resolving. Rui _______________________________________________ Shr-devel mailing list Shr-devel@lists.shr-project.org http://lists.shr-project.org/mailman/listinfo/shr-devel