Today's Question:  What does your personal desk look like?        GIVE A SHOUT

 ALL


  Beauty of code : How to write graceful PHP code

Writing good code is an art. In order to achieve this, it is necessary to develop good programming habits at the beginning. Good programming habits not only contributes to the early project design (modular),but also allows you to the code easier to understand, so that the maintenance of the code is easier. Bad programming habits will result in more code bugs, and will make future maintenance work difficult.We introduce some good programming habits taking PHP as example. Hope this will help you.1. Planning code structureExcellent PHP code should have a clear structure. PHP object-oriented featu...

15,164 0       PHP GOOD CODE


  STOP WRITING GOOD CODE; START WRITING GOOD SOFTWARE

Good software trumps elaborate code. And unfortunately, you can’t usually have both. The real world has deadlines and ship dates. It’s a game of pick two:Ship on timeShip with elaborate codeShip with a fantastic productAlmost always, you should pick the first and the last when you’re building software applications for users (if you’re building API’s or open source libraries for other developers, then it’s a different story). Too often I have seen developers, when struck with a brilliant idea, no matter how small, plunk away at building an elaborat...

1,753 0       GOOD CODE DEADLINE GOOD SOFTWARE STANDARD TRADEOFF


  Great code is written twice (or more)

The last couple of years more and more people have been moving towards Agile development. These techniques aren’t new, most we’re devised in the 80s or 90s. But finally these days programmers and (more importantly) business consultants, architects and clients have learned to love and embrace Agile development.Evolving requirementsIt has now become common knowledge that you can’t write down all the requirements before you start the project. These requirements have to be written down in an evolutionary matter. In short cycles/sprints we build pieces of the pro...

288,341 0       TWICE GOOD CODE RECODING AGILE EVOLVEMENT