in reply to Paul Graham on Great Hackers

He thinks while (<FILE>) is low level? Then I guess you didn't show him sysread. Or XS. :-)

My guess is that this guy is a functional purist, and therefore thinks a HLL shouldn't permit (or, at least, rely on) side effects. You should show him how Perl supports functional programming as well, including such nifty things as closures.

Truly one of the greatest things about Perl is that it is a HLL, a LLL, and everything in between. It's one-stop shopping. You can do everything you need to do, without having to cobble together pieces written in different languages. ("Yeah, I use DHTML for the UI, PL/SQL for the database stuff, and Prolog for the business logic. And I drop down to C for the fiddly bits.")

Replies are listed 'Best First'.
Re^2: Paul Graham on Great Hackers
by hardburn (Abbot) on Jul 29, 2004 at 19:24 UTC

    When functional language purists talk about how a language can completely lack of side effects, they tend to shrink back when you ask them about I/O. Yes, there are ways of dealing with it (monads, which are beyond my current understanding, and so will only mention them for completeness), but there is no getting around the fact that I/O is a side effect.

    Update: One grammour mistake fixed. 1.56 * 107 more to go.

    ----
    send money to your kernel via the boot loader.. This and more wisdom available from Markov Hardburn.

Re^2: Paul Graham on Great Hackers
by CountZero (Bishop) on Jul 29, 2004 at 19:12 UTC
    And if you want to cobble together pieces written in different languages, Perl is the no. 1 glue language!

    CountZero

    "If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law

Re^2: Paul Graham on Great Hackers
by jdalbec (Deacon) on Jul 30, 2004 at 01:05 UTC