user-pic

bigfoot

Subscribe to feed Recent Actions from bigfoot

  • Mike Doherty commented on Why you don't need File::Slurp…

    Would you benchmark this method of slurping, which is what I typically see?

    my $contents = do { local $/; open my $in, '<', $filename; <$in> };

    Might be worth adding to https://github.com/melo/perl-benchmarks

  • Damien "dams" Krotkine commented on Why you don't need File::Slurp&#x2026;

    I like to use this for non production code :)

    my $content = do{local(@ARGV,$/)=$filename;<>};

    I don't think it's useful to benchmark it :)

  • animatedream commented on Perl and Me, Part 6: Perl Is Engineering <i>and</i> Art

    First, I would never argue that python makes it hard to write bad code. It's very easy to write bad code in any language. I would argue instead that python attempts to make it easier to write good code, by reducing the number of idiosyncrasies a programmer must be informed of to make

    I don't understand the benefit to software development in being able to express a meaning in any way but the best way. I don't think the arguments put forth here really contradict that. The problem: Who's best way?

    In python's philosophy, the principle of least astonishment ranks higher than eve…

  • Ether commented on We are all Perl's ambassadors...

    Maybe create some phase gates for new contributors? or create some kind of bar to get over before you can upload and even get rated in the first place?

    prepan.org exists as a place where authors can upload code for critique, but it doesn't get used often enough. I wouldn't mind the requirement for a new author to make at least one submission to prepan.org first (and get some positive feedback) before their first PAUSE upload, but this is difficult to enforce without a lot of code that no one would want to write.

  • Buddy Burden commented on Perl and Me, Part 6: Perl Is Engineering <i>and</i> Art

    animatedream: Thanks for your comment!  Good to hear from someone on the Python side of things.

    > First, I would never argue that python makes it hard to write bad code.

    I understand that.  The problem is, the person who literally wrote the book on Python made that exact argument.

    > I don’t understand the benefit to software development in being able to express a meaning in any way but the best way.

    Well, I suppose if there were always exactly one “best way,” not only to all people, but also in all situations, in all …

Subscribe to feed Responses to Comments from bigfoot

About blogs.perl.org

blogs.perl.org is a common blogging platform for the Perl community. Written in Perl and offering the modern features you’ve come to expect in blog platforms, the site is run by Dave Cross and Aaron Crane, with a design donated by Six Apart, Ltd.