func()[1] not being allowed in PHP is just a silly deficiency in the
language grammar and runtime. I "fixed" it in 2009 with a rewrite rule
(right before APC in the compile chain). func()[1] -> _helper(func(), 1). I
have a habit of not accepting languages the way they're given to me I guess.

Anyway I don't think that's a very good comparison. Or maybe it is because
they're both easily fixable problems.

On Tue, Apr 10, 2012 at 1:14 PM, Axel Kittenberger <[email protected]> wrote:

> On Tue, Apr 10, 2012 at 3:37 PM, Yi Tan <[email protected]> wrote:
> > you really should spend a few hours learning coffee script if the js
> > callback syntax make you uncomfortable
>
> Unless coffee script fixes its "implicit local variable is global if
> the names match and just dont take care to not accidently name it
> equally" I will not touch it with a long stick.
>
> Anyway, I find this node.js and callback arguments popping up again
> and again very similar to what happens when asking the PHP guys and
> gals why func()[1] is not a valid language construct? They get all
> miffed usual arguments follow, and it happens all the time again. I
> suppose simply because deeply within they know there is some
> fundamental problem, but convince themselves with far fetched
> arguments like "just get a larger screen" etc. at least as much as the
> repeated questions. Only long after the lifecycle of software solution
> people come, well yes that sucked didn't it? We kinda knew it all the
> way, but we just decided to ignore it.
>
> Maybe you have other good examples?
> Ask GNOME 3 why the panel is no longer customizeable.
> Ask TCL what the they where thinking when they handled every integer
> variable as string.
> Ask Java why multiple inheritence was that bad after all, and all the
> workarounds they later needed for it. You got an Inputstream object
> and Outputstream object, but how to get an InputOutputStream?
> Ask Javascript, about 'this'.
> Ask terminal guys, about why terminal emulations are that complicated
> and never compitabitle to anything else.
> Ask Windows why \r\n, ask why they never ever managed to abolish drive
> letters.
> Ask Apple why \n\r
> Ask Linux why inotify and fanotify while both being non-satisfactory
> for any usecase but the single one they were designed for.
> etc.
>
> So now that I annoyed every tech group there is, I better get logged
> of for a while :-)))
>
> --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en
>

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to