Tuesday, May 19, 2015

"Writable" is wrong!

Incorrect and inconsistent spelling makes searching harder:

function initDb() {
    $datbase = PDO::get();
    $datbase->check();
}


If I searched my code base for "database", I'd miss this hit.  That sucks.  Please take the time to correctly spell.  (Corollary: if you misspell, misspell all instances consistently!)

With this in mind, what about "writable" and its variant "writeable"?  While the dictionary says "writable" is correct, I consider that spelling harmful.  Search for "table" and you'll hit "writable", which is undoubtedly a false positive.

Please use the "writeable" variation.

0 comments:

Post a Comment

Share your thoughts!