Archive for October, 2014

Reading, reading and reading…..

0

One of the common questions that a developer have, how to upgrade next technical level? Well everyone have their own ways but one common thing that includes in nearly every answer, upgrade yourself.

 

How do we upgrade ourself? Simple way is to read as much as possible. Follow some good programmer/speaker and read what they say. Still reading take some time and many of us complain we are out of time, are we really? How much time do you waste while waiting in queues, for a meeting, ready to go out but waiting for family/team to get ready. There are lot of example when we wait 10-15 minutes, utilize that time to read?

 

To utilize that time, I generally collect contents on my mobile/tablet using different tools like pocket, flip board etc. Recently I started collecting them as PHP Reboot monthly magazine on flip board. Install flipboard on your android/Iphone/kindle and subscribe the magazine, which contains many important blog for current month and (planned to) publish monthly. Here is October issue.

PHP Reboot October 2014 Magazine

PHP Reboot October 2014

Proper code case

0

Following well defined coding guidelines is very important for a team (two or more developers). Proper coding guidelines help team members to understand the code written by other developers and thus improve efficiency of the team.

Although all teams develop their own coding guidelines, there is some basics that will always stick. You can define if you want to use camelCase or snake_case but many times, developers find it difficult to understand the meaning of different cases. So in this article, we are going to define different cases used in programming.

Snake_case

It have all the words in lower case and different words are separated by underscore (_). It is mainly used used and popular in wordpress and old PHP projects. Examples:


$first_name;
$last_name;
$public_path;
$account_number;

Spinal-case or kebab-case or lisp-case

(more…)

Go to Top