3 ms·
I'm afraid the comments so far proves youu wrong. There are people here who use PHP. As for this, er, "MVC-code"... People say OO, MVC and design patterns and
by trezor 18y ago
I'm afraid the comments so far proves youu wrong. There are people here who use PHP.
As for this, er, "MVC-code"... People say OO, MVC and design patterns and all that is overengineering things. This is was 62 lines of PHP to implement a simple switch statement for 2 options.
That's pretty hardcore.
- jrockway 18y agoWell, that is mostly a combination of PHP's total lack of anything resembling sane syntax and a plain bad example :) However... if you have a bunch of functions with names like: get_foo_data get_bar_data process_foo_data process_bar_data display_foo_data display_bar_data The phrase "I AM DOING SOMETHING WRONG" should immediately appear in your mind, even if you've never heard of OOP.