New Coding Standards?
- Migration to new coding standards
4-space indentation, camelCase for methods and properties, underscore_case for functions and variables (camelCase for existing functions), lowercase
null, and some more. As new code in Garden is being written using similar coding standards, I'm moving my own projects to these standards as well.
This was taken from that discussion because I didn't want to go offtopic there.
Wouldn't that affect also existing plugins? Class names and method names are not case sensitive, so that wouldn't be the problem, but what about common array or variable names? Starting from
$PluginArray with all its values to
FormPostValues or even
CommentID and the like? Will the db column names also change? So that
DiscussionID will always be
To put in a short question: will the switch to new coding standards make nearly all existing plugins incompatible with Vanilla 2.2?