Talking head
Garden City Ruby 2015

This presentation, by Ranjeet Singh, is licensed under a Creative Commons Attribution ShareAlike 3.0

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.

Rated: Everyone
Viewed 299 times
Tags: There are no tags for this video.