Ovid (publius_ovidius) wrote,
Ovid
publius_ovidius

  • Mood:
  • Music:

I'm Giving a Talk? Are You Serious?

A few weeks ago, a call for speakers at London.pm and I offered to do a short talk. I never heard back and I'm pretty sure that Yahoo's curious spam filters have something to do with this. Yesterday I found out that I'm speaking tonight. Oops.

I threw this together last night. If you don't understand OO programming, it will make no sense. Heck, it will still probably make no sense, but them's the breaks. This is not a tutorial. It's primarily an exploration of why inheritance is such an awful idea and how roles solve the problems found.



Roles are also known as "traits" in SmallTalk, but these are not the same thing as traits in C++. They are also not abstract classes, Java interfaces or Ruby mixins. I really wish people would stop saying they're the same. It's like saying a Lamborghini and a tricycle are both modes of transportation.
Tags: perl, technology
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 1 comment