scrap pad

php can be obnoxious

One thing that makes PHP obnoxious is that it has a function for everything. It's as if someone wanted to make a language that people would write scripts in and think, "wow, that's so short." Except it doesn't work, because who knows all the damn functions? And it's not necessarily the presence of things-done-for-you that shortens and neatens code, it's the robustness of its metaphors. Or something.

Brought this on: using "array_walk()" plus some other code, where I could have used "array_map()". for future reference.

also: I definitely go through fads with my php usage. Recently I've been using "array_unshift()" at every opportunity.

Archives

who I am