Retraining? More like un-training. Unlearning useless complexity is hardly difficult. In the current ecosystem:
That function... was it with underscores? Camel case? Maybe there were no separators... Aw forget it, I'll just Google it.
In the case of just choosing one format (which they already have) you don't have to wonder. It's snake case, period. That's not hard.
As far as updates and migration issues, that's why they're aliases, and that's why deprecation exists. Many things have been deprecated in nearly every minor release of PHP, the process is nothing new.
Plus, they already have guides for aliasing:
Aliases & Legacy Documentation
You may also have some deprecated aliases with close to duplicate names, for example, somedb_select_result and somedb_selectresult. For documentation purposes, these will only be documented by the most current name, with the aliases listed in the documentation for the parent function. For ease of reference, user-functions with completely different names, that alias to the same function (such as highlight_file and show_source), will be separately documented. The proto should still be included, describing which function is aliased.
It shouldn't be, in my opinion. I would argue that it's a typo. Even if that one is intentional, it's one exception compared to hundreds. Still a win in my book.
1
u/minasmorath Dec 03 '15
Retraining? More like un-training. Unlearning useless complexity is hardly difficult. In the current ecosystem:
In the case of just choosing one format (which they already have) you don't have to wonder. It's snake case, period. That's not hard.
As far as updates and migration issues, that's why they're aliases, and that's why deprecation exists. Many things have been deprecated in nearly every minor release of PHP, the process is nothing new.
Plus, they already have guides for aliasing: