in reply to Re^8: Google considers Perl a useful skill
in thread Google considers Perl a useful skill

I think that in their early years the then small Python community oriented themselves a lot at the Perl and copied concepts, like the hatred against PHP.

Like all new religious movements they needed to position themselves against the established competition, and this was ingrained into the believe.

Christianity did this with Judaism (godkiller, etc.), the Quran speaks at long length where Christianity went wrong.

And Python like Islam has the tendency of claiming to have the final truth, the seal of the prophets.

I remember seeing a blog-post of the angry backslash when the Ruby-folks tried to imitate those anti memes but now against Python.

Having a boogeyman is very useful for a movement.

The "paradox" is that the most vocal enemies are often the least competent. Many people which have abysmally small know how are the biggest "zealots" - another religious term BTW.

Nobody likes to admit he's incompetent, but the "pre-formatted" Python syntax is visually more likely appealing to any static data-type (Java etc) programmer, and by imitating the anti-Perl "credo" they can pretend to be experts.

I had my aha-moment when I met this team-leader who hated Perl and told me at long length why he loved Java for its strictness and bash for it's flexibility. It didn't make much sense.

My theological 2cents. :)

Cheers Rolf
(addicted to the 𐍀𐌴𐍂𐌻 Programming Language :)
Wikisyntax for the Monastery

  • Comment on Re^9: Google considers Perl a useful skill

Replies are listed 'Best First'.
Re^10: Google considers Perl a useful skill
by Your Mother (Archbishop) on Oct 13, 2022 at 14:16 UTC

    I prefer PHP to Java FWIW. :P

      Scylla and Charybdis. But if forced to choose I would probably agree.

      I'd choose Python over either and I really don't like Python.


      🦛

      PHP to Java

      What an interesting comparison - to me at least...

      In my very limited understanding, PHP is pretty much universally used server-side for producing web pages. Java is mainly used for applications. (Does anyone still use JSP and Applets?) So in that sense, they are not even comparable. It would be very tricky to replicate the function of one with the other.

      If I had to chose between them I would opt for Java as I do know a little. I had to take a Java programming module at university but it was pretty simple stuff. I have also created a few basic Android apps using Java. Whereas PHP I know nothing about other than looking at some code a few times and instinctively not liking what I saw.

        Any Turing complete language can replace another, and they’re all Turing complete. People don’t really use PHP for purely backend stuff but not because it can’t do it. PHP isn’t executed in the browser so it’s always “backend” really, just like Perl (no offense haukex, :P). PHP is quite similar to Perl, it just has a boatload of caveats and redundant functions. And Perl can be used exactly as PHP (Mason and Embperl). The only advantage PHP ever had, and the reason it ate Perl’s web lunch, was they built a deployment plugin for apache that was better for shared hosting than mod_perl (which was as bad as it gets for shared hosting).

        The clichéd example is, of course, the well-known exercise of getting a language to print "Hello World". In Java, that's:

        class HelloWorldApp { public static void main(String[] args) { System.out.println("Hello World!"); } }
        It's a cheap shot to point out how syntactically overburdened that is, but it does illustrate a far more important point: that it's *cognitively* over-burdened too...

        -- Damian Conway in Builder AU interview (cited at The Lighter Side of Perl Culture (Part IV): Golf)

        No, really, I don't want an identification division. The problem with identification division is it really puts a crimp in Perl's poetry, or in Cobalt poetry. How many poems can you start off identification division? One.

        -- Larry Wall in State of the Onion 2000

        Bod, as alluded to by the quotes above, when I scored a Java job during the early Internet boom years, its verbosity and enforced structure somehow spookily reminded me of Cobol, which I'd used in my first government job. Though I much preferred Java to Cobol, both languages somehow made me feel oppressed ... so I felt relieved when I was able to escape to the fresh open fields of C++ and Perl.

        Oh, and I think your instincts regarding PHP are spot on. :)

        Does anyone still use JSP and Applets?

        Unfortunately, yes. There is an absolutely shocking amount of Java still used (and still being written!) for web applications and middleware despite it being entirely unsuitable for the purpose. Thankfully applets have pretty much gone as a direct result of browsers making it difficult for average users to enable that functionality. But the back-end stuff inexplicably remains.

        The theory is that the massive push of Java as the teaching language of choice in academia from the late 90s onwards has produced a generation of coders who view it as ubiquitous. There were taught how to do everything in Java but apparently never taught whether or not they should. The result is massive, resource-hungry, slow, brittle, insecure web applications which would have been so much better written in almost anything else (even PHP). Java is no doubt great for writing mobile apps for Android but that's about it.


        🦛