Create your Visme
To use or not to use?
Since we all remember we used Hungarian notation in trivago!
In pse we have gathered a set of reasons about why we have to change the notation to simple camel case.
For a better naming
We all love good naming! Who doesn't?
Since I have joined trivago I've seen lots of people using the Hungarian notation to save some time for thinking about a good name!
When you name a variable in a good way, with the name you also know the type!
$_iUsers => $usersCount
$_aUsers => $users or $userList
Aren't we actually supposed to keep the methods as small as possible?
So you should actually see the arguments all together with the rest of the method!
Argument vs variables
As you all know in php 7 you can define the type of the arguments!
And as for variables already mentioned that
"Good naming" => We know the type!
And... PHP7 is coming!
Moein Akbarof | January 21, 2016