Not so important developer/coding style question
Function/method names should be lower case based on the current coding styles of Vanilla. Generally I would say that every word followed by brackets would be written lowercase then. But I'm not sure about something like that:
$userModel = Gdn::UserModel();
$userModel = Gdn::userModel();
$commentModel = new CommentModel();
$commentModel = new commentModel();
Without a doubt, the name of the class is UserModel/CommentModel and as a class name it should be uppercase. I've already learned that
Gdn::... are only calls to static methods, so I'm sure that 2. would be correct and 1. would be false, since 2. is a call to a function of class Gdn.
But where I'm hesitating is 3 and 4. "Semantically" the part behind the new-keyword is a the class name which should be instantiated, correct? So as a class name it would have to written with an uppercase letter like in 3., but since it is followed by brackets it seems to be a method or a function (at least for the interpreter) and as such it should be written lowercase like in 4.
I know that this is not important, but I'm just curious. Can anybody enlighten me?