Re: [PHP] Re: Insult my code!

2009-10-13 Thread David Otton
2009/10/13 Eric Bauman : > *sigh* sometimes I really wish PHP allowed one to be a bit more heavy-handed > with types (optional real type hinting would be nice). There's a scalar type-hinting patch floating around somewhere, but then your code would only work on machines with that patch. > I gues

Re: [PHP] Re: Insult my code!

2009-10-12 Thread Eric Bauman
On 12/10/2009 9:21 PM, David Otton wrote: 2009/10/11 Eric Bauman: As before, please feel free to insult my code. ;-) Any and all feedback is of course most appreciated. I know you're more concerned with structure, but your checkInt() method is arguably buggy/has an un-noted assumption. It acc

Re: [PHP] Re: Insult my code!

2009-10-12 Thread David Otton
2009/10/11 Eric Bauman : > As before, please feel free to insult my code. ;-) Any and all feedback is > of course most appreciated. I know you're more concerned with structure, but your checkInt() method is arguably buggy/has an un-noted assumption. It accepts ints formatted as ints and strings,

[PHP] Re: Insult my code!

2009-10-11 Thread Eric Bauman
On 7/10/2009 5:34 PM, Eric Bauman wrote: Hi there, I'm in the process of trying to wrap my head around MVC, and as part of that, I'm attempting to implement a super-tiny MVC framework. I've created some mockups of how the framework might be used based around a very simple 'bank', but I'm trying