PHP, Classes, Camel Case, and Underlines
Wednesday, November 18th 3:40pm
When I first started PHP programming, I wrote code like the PHP inventors wrote code, using lowercase characters and underlines, like: $my_favorite_variable = 5; function add_numbers($first_number, $second_number) { return $first_number + $second_number; } $answer = add_numbers($my_favorite_variable, 1); But this became tiresome. The thing is, the underscore character is harder to type and using all lowercase really makes the [...]