user-pic

Abigail

  • About: I am Abigail.
  • Commented on Encapsulating Responsibility in Methods
    I find your argument about the "using" parameter of the steam_milk function not at all convincing. There's no reason what so ever that the steam_milk must have a "using" parameter, and the barista should not. If you can "hide" that...
  • Commented on Perl 7
    I think people still haven't stopped ridiculing SUN for releasing Solaris 7 as the successor to Solaris 2.6. In the end, it doesn't matter at all how you label a Perl release. The IT world consists mainly of people having...
  • Commented on A distributed design challenge
    Can't you just say campaign $C is handled by server hash($C)%36, for some appropriate hash function? Or you could throw in the amount of money left on the budget, and if $N units are left, you allow min($N, 36) servers...
  • Commented on Let's say no to NO
    I also have a job, and neither you, nor the conference organizers are paying for my flights, hotels or giving any compensation for the fact I'm not working those days. I don't think you're entitled to dictate how I should...
  • Commented on Let's say no to NO
    Guess I'll never be at a YAPC::Russia then. If you're paying for my flights, hotels and time, then you have the right to demand something. But if you expect me to pay for my flights, my hotels, and take time...
  • Commented on Why is this "use" a syntax error?
    Do note that a version number is not a float. 0.96.1 is valid as well, but isn't parsed as a floating point number. So, your argument that .96 is parsed the same way as 0.96 in numerical context doesn't hold....
  • Commented on Unicode and Passwords
    One thing to consider is, what are your costs? Has anyone done research to find out whether allowing Unicode passwords results in an increase of customer service calls, because people are having problems? You may think passwords become more secure...
  • Commented on Belgian Perl Workshop 2011
    Would love to attend, but I've already made other appointments for said date. Next time, please pick a date sooner!...
  • Posted A new JAPH to Abigail
  • Commented on Allowing anonymous comments
    Signing in here seems to be easy - all I need to do is click a link, no username or password required. Could be that in the past I set up some magic to deal with it, but that I...
  • Commented on How to remove a carriage return (\r\n)
    $g =~ s/\R//; Takes care of all Unicode line endings....
  • Commented on Something for Perl event organisers to take into consideration
    I'm not sure what to think of codes of conduct. What's the difference between a conference that has a code of conduct, and one that doesn't have one? What is the difference that's being made? How is it enforced? If...
  • Commented on Why is booking.com hiring so many developers?
    Perl is neither a sufficient, nor a necessary requirement. We've hired people with no or limited Perl skills, and we have not hired some people with great Perl skills. At Booking.com, we need people that can, and will take responsibility,...
  • Posted Somewhere between "use re 'eval'" and "no re 'eval'" to Abigail

    Say, you have a function, which takes a string, a pattern, and then

    sub example {
        my ($str, $pattern) = @_;
        $str =~ /$pattern(?{ 1; })/;
    }
    

    The cod…

  • Commented on What non-Perl books do you recommend to Perlers?
    I rather throw out all my Perl books than my copy of "Advanced Programming in the UNIX environment" by the late W. Richard Stevens. And then there's the oeuvre of Donald E. Knuth....
  • Commented on The Perl Survey 2010 is ready for you to complete!
    Some comments: Too bad the editors section doesn't have an "Other" option - now I cannot list my editor. I've also no idea what "open source dynamic languages" are. Is C "open source"? What's the source of a language anyway?...
  • Commented on Starting Euler
    Mike: I think the point of Project Euler is that it's a math challenge, not a trivial program challenge. Each time I solved a problem using brute force, it felt like cheating....
  • Commented on Starting Euler
    http://github.com/Abigail/ProjectEuler...
  • Commented on MySQL and Oracle
    Here's a blog post (in German) of a former MySQL consultant (who now employed by $WORK), pointing out that Monty has its own agenda: http://blog.koehntopp.de/archives/2708-Monty-vs.-mysql-gpl.html He also points out (outside of the blog) that SUN has poured a lot of...
  • Commented on MySQL and Oracle
    I would say this is a good test case for open source software. Can software that is "open" survive being sold to a third party (the party in this case being SUN - let's be clear here, Oracle didn't buy...
  • Commented on dev.perl.org - gets a facepaint
    I've created an account on the site the link is pointing to, left a message on the forum, and now the page is up-to-date again....
  • Commented on dev.perl.org - gets a facepaint
    Just too bad that the link "actively maintained" points to a page suggesting development suddenly stopped in August 2009....
Subscribe to feed Recent Actions from Abigail

  • Aristotle commented on Perl 7

    Yes Jenda, these clearly look like dead projects to me. You’re talking out of your ass. As for your opinion that this supposed failure of the effort entitles you to give the people who are working on it a public “fuck you”, how about a nice big cup of shut-the-hell-up.

    Thank you.

  • Ovid commented on Encapsulating Responsibility in Methods

    Y doesn't have to be derived from X, but if you add a new, unrelated exception that has not previously been documented, that's the same as changing the interface to the class. There's a good rule of thumb for OO programming that classes should be open for extension, but not modification. Adding a brand new exception violates that rule of thumb.

    Key takeaway: document your exceptions and treat them as part of the contract for your class.

  • Ovid commented on Encapsulating Responsibility in Methods

    Neil, I know what you mean and I often agree. In this case I elected a different style because the code processes the entire file at once and the mutable state is never exposed.

    Because of the complicated business rules, in the older version of this code, passing around these arguments often led to tramp data being passed through various methods. To avoid that, I allowed the object to maintain a guaranteed consistent internal state rather than try to pass that data to many places which didn't need it simply so they could pass it on to methods which did need it. It makes the code and …

  • Aristotle commented on Encapsulating Responsibility in Methods

    They suck too, stderr.

    The best justification for OO I have seen is “a GUI widget library”. You don’t want to deal with each kind of event by switching on the type of widget and putting the logic for dealing with that kind of widget in the switch branch – because then when you add another type of widget to your program, you have to add another branch to every switch statement in your entire codebase. Instead, you want to give a name to what each switch block does (the same name for switch blocks that do the same thing), and then…

  • chinaxing commented on Encapsulating Responsibility in Methods

    responsibility , less expose detail, need to think ..

Subscribe to feed Responses to Comments from Abigail

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.