Talk: Object-Functional Fusion in Ruby

Dan will give a short talk (~40 mins) at the top of the night, and then we can hack & hang out.

Here's the talk description:

~ ~ ~

We all know Ruby supports functional style programming: it’s got blocks! But it’s still, at bottom, an object-oriented language.

What are some ways we can combine OO and FP to good effect?

* Passing blocks: the Strategy pattern was never so easy!

* Deferring execution: separating the decision to do something, from doing it

* Composition, currying, and closures: declaratively writing validations, adapters, parsers, formatters, transformers, translators...

We’ll take a look at examples like this, and how they’ll help you break down problems and DRY up your code.


Join or login to comment.

  • Joel N.

    A great time as always, thanks Dan for a great talk on Object/Functional fusion!

    For those that were interested in helping with the newhaven.rb site redesign I've created a branch, pull requests are welcome.

    The redesign needs the following:

    * js to populate the upcoming meetups in the accordion (progressive enhancement please)
    * new or edited content to the left of the accordion
    * proper styles for the footer (text is black, change to white)
    * content for the footer.
    * put the company list / logos that are currently on the jobs page somewhere, I was thinking in the footer

    June 7, 2013

  • Joel N.

    3rd Floor! I've tried to change it an Meetup won't let me. -- J

    June 6, 2013

Our Sponsors

People in this
Meetup are also in:

Sometimes the best Meetup Group is the one you start

Get started Learn more

I'm surprised by the level of growth I've seen since becoming an organizer, it's given me more confidence in my abilities.

Katie, started NYC ICO

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy