Write your code correct the first time around
After hanging around on StackOverflow.com for so long, I’ve started seeing bad programming patterns in the way new posters go about creating code, specifically using CodeIgniter, an MVC Framework. The code they write almost always shows a general lack of understanding of MVC design. A typical ‘bad programmer’ will create a controller, which would just call a view: and then their view would be jam packed with business logic, database queries, and very much a…