The demand for PHP programmers are in raise as reported by oDesk.“Employers around the world who rely on mission-critical product development and building out their IT infrastructure have spoken,” said oDesk CEO, Gary Swart. “Open Source technology, led by PHP and MySql, is by far the skill set in highest demand today.” Check this link
I stumbled upon two good links to understand whats technical debt , its impact and the ways to measure it. These links would be helpful for software developers, architects and also for people interested in programming.
Which of the two is better, If-else or switch ? Everyone say Switch is better than if-else. But why ?
A sequence of if-else statement is translated as a sequence of labels and goto statements.
But for a switch statement, a compiler generates an internal table to find the matches at run time. Depending upon the constants in the case statement the table can be look up or range table. If the constants are unrelated the comparison are usualy done at the beggining and jump is made to specific entry in the table [lookup table]. If the constants are related and within a range [eg : ‘0’ to ‘9’ ] jump can be made to each range of values [i.e., the range table].