Garden City Ruby Conference - Immutability Matters

Channel:
Subscribers:
42,100
Published on ● Video Link: https://www.youtube.com/watch?v=PSQ547GXUno



Duration: 18:31
270 views
1


By, Ranjeet Singh

The Ruby codebase and standard libraries make heavy use of mutable objects, as does pretty much any mainstream language. Mutable objects are not thread-safe, comparatively harder to maintain and write tests for, and with the resulting tests being slow and brittle. Thus, it becomes very hard to understand applications and libraries written using mutable object states to pass values around and perform operation on those values. Immutability resolves a lot of concurrency issues (race conditions, dirty read/write etc.), and also simplifies the codebase and test cases.

Help us caption & translate this video!

http://amara.org/v/GF2q/




Other Videos By Confreaks


2015-02-11MountainWest RubyConf 2010 - Rack for web developers by Michael J. I. Jackson
2015-02-11MountainWest RubyConf 2010 - Managing Ruby Projects with RVM by Wayne E. Seguin
2015-02-11MountainWest RubyConf 2010 - Archaeopteryx: Lambdas in Detail by Giles Bowkett
2015-02-11MountainWest RubyConf 2010 - Cooking with Chef - Your servers will thank you by James Golick
2015-02-10Emerging Languages Camp 2010 - Go by Rob Pike
2015-02-10Acts as Conference 2009 - Live Video Q&A with David Heinemeier Hansson
2015-02-10Acts as Conference 2009 - Welcome by Robert Dempsey
2015-02-10Scotland Ruby Conf 2011 - Scottish Ruby Conference Keynote by Dave Hoover
2015-02-06Garden City Ruby Conference - Capacity planning with Capybara and RabbitMQ
2015-02-06Garden City Ruby Conference - Rubinius — Ruby implemented with Ruby
2015-02-06Garden City Ruby Conference - Immutability Matters
2015-02-06Garden City Ruby Conference - ActiveRecord can't do it? Arel can!
2015-02-06Garden City Ruby Conference - WAT!! ActiveRecord Callbacks
2015-02-06Garden City Ruby Conference - Fun with Ruby and Arduino
2015-02-06Garden City Ruby Conference - Resilient by Design
2015-01-22LambdaConf 2015 - Join Us!
2015-01-20EmberConf 2014 Using Ember to Make the Seemingly Impossible Easy by Heyjin Kim and Andre Malan
2015-01-08Madison Ruby 2013 - ImprovEffect Kickoff with Jessie Shternshus
2015-01-07Portland RB January 6th - Arduino Cat Faucet
2015-01-07Portland RB January 6th - Ruby and Elixir
2015-01-05LA Ruby Conference 2011 - How to Jam in Code