•  

Immutable Ruby

A session at MountainWest RubyConf 2013

Thursday 4th April, 2013

10:30am to 11:00am (MST)

Most Ruby code makes heavy use of mutable state, which often contributes to long term maintenance problems. Mutability can lead to code that's difficult to understand, libraries and applications that aren't thread-safe, and tests that are slow and brittle. Immutability, on the other hand, can make code easy to reason about, safe to use in multi-threaded environments, and simple to test. Doesn't that sound nice?

This talk answers the question ""why immutability?"", covers the building blocks of immutable code, such as value objects and persistent data structures, as well as higher order concepts that make heavy use of immutability, such as event sourcing and pure functions, and finally discusses the tradeoffs involved in going immutable.

About the speaker

This person is speaking at this event.
Michael Fairley

I write code.

Coverage of this session

Sign in to add slides, notes or videos to this session

Tell your friends!

When

Time 10:30am11:00am MST

Date Thu 4th April 2013

Short URL

lanyrd.com/scfxfp

View the schedule

Share

Topics

See something wrong?

Report an issue with this session