in reply to IO::File vs CORE::open

If you want to revise the learning curve of perl, it is better to leave it out.

Explaining OO before demonstrating how to perform file operations is definitely a revision of Perl's learning curve, but I'm not sure it's a revision of Perl's learning curve in the "easier to learn" direction.

If you want conceptual purity of a single programming paradigm, you don't want Perl.

Replies are listed 'Best First'.
Re^2: IO::File vs CORE::open
by Jenda (Abbot) on May 13, 2009 at 11:28 UTC

    Depends on the direction you are coming from. If you're used to the results of the "Everything is an object" mantra, the IO::File will look more familiar. I'd rather have "similar things should look similar, different things look different" than "everything looks the same", though.

    Jenda
    Enoch was right!
    Enjoy the last years of Rome.

      If you're used to the results of the "Everything is an object" mantra, the IO::File will look more familiar.

      Yet how inconsistent with the rest of the core language.