On Tue, Jul 24, 2012 at 09:42:10PM +0100, Smylers wrote:
: GitHub writes:
: 
: >       
https://github.com/perl6/specs/commit/d9d8b35825f7abf07a9314fd90b0b5563253bd15
: >   Author: Larry Wall <la...@wall.org>
: > 
: > There is no more titlecase function.  Instead there is a suite
: > of mapping functions appropriate to apply on a word-by-word basis
: > (tc, tclc, and tcuc),
: 
: Under what circumstances is tcuc useful? I'm currently suffering from a
: lack of imagination as to when somebody would ever want that rather than
: just uc.

A bare uc will do the wrong thing for the first letter of a word in
those languages that distinguish tc from uc.  Titlecase is distinguished
from other uppercase forms that are used after the inital letter, and
so doesn't care whether the next character is uppercase or lowercase.
It's simply wrongish to use uc on the first character in such a language.

Larry

Reply via email to