[eluser]hyperfire[/eluser]
Good job, a bit more clean. I knew someone not lazy as I am would just try to beat my code trying to make it fit into AR coding structure. Congratulations.
While I agree with you about hacking and stuff, isn't:
Code:
echo $this->db->get_value('username','users','id=1');
muuuuuch more simpler than:
Code:
echo $this->db->select('username')->from('users')->where('id',1)->get()->row()->username;
Of course we're not going to echo any of that, but talking about simplicity, I stay on my choice to use get_var.
After all, its much more easy to create a shortcut than opening the real folder to that application (talking about windows now, something like program files>application>executable folder>application executable ... come on, why reinvent wheel, shortcuts are here for that)
So the real question is: Why should I get stuck with method chaining if I can create a shortcut for that?
Not that I'm saying that CI is dumb or something, don't get me wrong, but if it can be improved, why not.