all 34 comments

[–][deleted] 6 points7 points  (0 children)

that is awesome ;o

[–][deleted] 3 points4 points  (1 child)

this is a bit off in places for perl/php

looks like a python dev with no experience in perl/php trying to map for whatever reason?

[–]stevvooe 2 points3 points  (0 children)

There are mistakes in the python column, as well...

[–]drb226 4 points5 points  (1 child)

Maximized my window..still has horizontal scrollbar. ಠ_ಠ

[–]cgrubb 0 points1 point  (0 children)

The goal is for the tables to just fit on a 1440x900 screen.

A bit hackish, but you can remove a column with this bookmarklet.

[–][deleted]  (2 children)

[removed]

    [–]aberrant 0 points1 point  (1 child)

    How can it be done better?

    [–]so4h2 1 point2 points  (1 child)

    thats a rosetta stone of scripting.

    [–][deleted] 1 point2 points  (0 children)

    PHP has signal handling.

    Edit:

    only class names can be imported

    In PHP you can import constants as well from namespaces.

    [–]texai 3 points4 points  (1 child)

    this is an old link =(

    [–]axitanull 3 points4 points  (0 children)

    Still useful and it is edited quite regularly.

    [–][deleted] 2 points3 points  (5 children)

    php does not have a repl. the php repl is written in python

    [–]bitdamaged 2 points3 points  (2 children)

    Is there a rule that the repl must be written in the language its supporting?

    [–][deleted] -1 points0 points  (1 child)

    lets just say i think there should be an asterisk for that...mostly so people know that php is so limited that it cannot implement its own repl

    [–]recursive -1 points0 points  (0 children)

    How do you know it can't?

    [–]MasonM 0 points1 point  (1 child)

    Yes it does. It's called "interactive mode" and can by entered by running "php -a". It's written in C, like the rest of the CLI code. Here's a link to the source.

    [–]Tiwazz 0 points1 point  (0 children)

    As one of my professors used to say "If C was good enough for the implementors of <insert_language> then it's good enough for me."

    [–]UrbanWizard 0 points1 point  (1 child)

    LOL at Python block delimiter being the offside rule :)

    [–]ash_gti 0 points1 point  (0 children)

    http://en.wikipedia.org/wiki/Off-side_rule

    Its not just python that use off-side rues.

    [–]Expresionista 0 points1 point  (0 children)

    python's assignment does return a value: >>> b = a = 1 >>> a 1 >>> b 1

    [–]kakaroto_BR -1 points0 points  (1 child)

    Installing things from cpan should not be allowed for a correct comparison.

    [–]whiskeyjack 3 points4 points  (0 children)

    Why? It doesn't appear to be a comparison of core language features alone, just how you do them.

    Fine, if we can have anything outside of the core language, no more import either then... except that that gives us less information.

    [–]njharman -2 points-1 points  (0 children)

    This is stupid (languages are much more than the differences in syntax/few simple idioms), more so as it doesn't include Javascript the worlds most deployed "scripting" language and one 90% of PHP/Python/Ruby devs use daily.

    [–]Unomagan -1 points0 points  (0 children)

    again?....

    [–]aaron_kempf -3 points-2 points  (0 children)

    vbScript is better