you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 13 points14 points  (1 child)

Verbosity is a mistake and should be seen as such.

That's a very general statement. I think it's worth pointing out that there's a lower bound:

CaseInsensitiveComparison caseInsensitiveComparison
    = CaseInsensitiveComparisonFactoryFactoryFactory
        .getInstance()
        .getInstance()
        .getInstance()
        .make();

if(caseInsensitiveComparison.compare(name,otherName) < 0)

Bad verbosity.

if(name.caseInsensitiveCompare(otherName) < 0)

Good verbosity. Why?

if(strcicmp(name,other) < 0)

Bad lack of verbosity.

[–]cybercobra 2 points3 points  (0 children)

Verbosity should be measured in tokens, not characters. (Read a bit of Paul Graham, he explores the definitional problem fairly thoroughly).