In projects which need heavy SDK usage, like Android and iOS development, I want the methods/functions I write to be obvious and since the whole framework is written with lower case method names I would like to have my method names start with upper case.
However is this a good approach if there are going to be other programmers included in the project? Would this create mental overhead & confusion or would it really simplify things?
{
didReceiveMemoryWarning(); // obviously a framework method
MemoryWarning(); // obviously custom method
item.height(); // obviously a framework method
item.SeventhDimensionOfItem(); // obviously custom extension
}
Aucun commentaire:
Enregistrer un commentaire