ext_118752 ([identity profile] sugoll.livejournal.com) wrote in [personal profile] cdybedahl 2007-03-26 11:00 pm (UTC)

I'm assuming, incidentally, that any perceived problem I have with Rails [or Ajax, or anything else that came along more recently than prototypes in C] are to do with me, rather than the system at which I'm looking. I am, in fact, a crotchety old bastard, except I'm of the perl generation rather than the awk generation. So I look for things that allow me to do what I expect to do, and completely miss the things that make it irrelevant.

Fr'example, early on in PHP, I was looking for how one decoded inputs from the form that invoked the script on the web server. Turns out that the doc said that all the variables from the form were *already* variables in the environment of the script. I didn't need to parse the field that had the value from input "foo"; it was already in $foo.

Coo, thought I. I wouldn't have thought of that.

Alas, seems that this was short-lived, and nowadays, it's in $_REQUEST['foo'], but hey: it's stil better than explicitly invoking the same nonsense to parse a string.

So while I'm being curmudgeonly and looking at things from a procedural ahve-to-do-everything-myself approach, at least know that I'm dissing things from my perspective: rationality isn't necessarily involved.

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting