Welcome Guest, Not a member yet? Register   Sign In
is loading through static class is bad idea?
#9

(This post was last modified: 06-13-2017, 12:41 PM by kharota.)

(06-13-2017, 11:20 AM)PaulD Wrote: Less code is not necessarily the best code (unless you are playing code golf).

Great code is beautiful because it is easily followed, clear, DRY, easily maintained, well thought out, robust and flexible.

Sir, if less code is same code why not use that one?

$this->load->view (has 17 chars)
Load::view (has 10 chars)

 how many more hours i have to do (for simple thing) if i have to go through all loading and other stuff? time is money and as freelancer its even more costly. 

I understand your point. are not we using frameworks to save our time?
Reply


Messages In This Thread
RE: is loading through static class is bad idea? - by kharota - 06-13-2017, 12:40 PM



Theme © iAndrew 2016 - Forum software by © MyBB