Garden City Ruby Conference - Immutability Matters
278 views · Published 6 February 2015 · 18:31 · Indexed 8 October 2026
Channel: Confreaks · 2015 · Science & Technology
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/
More from this channel
-
40:58
Jruby Polyglot Heaven by Thomas E Enebo and Charles Oliver Nutter
-
36:46
Your tests are lying to you by Chris Parsons
-
23:46
KidsRuby: Think Of The Children! by Ron Evans
-
52:05
Resources, For Real This Time (with Webmachine) by Sean Cribbs
-
38:28
Just Say No To :nodoc: and Document Your Code! by Loren Segal
-
40:10
Next Level Virtual Machine Maneuver! by Mitchell Hashimoto
-
34:59
MongoMapper, Mixins, and Migrations - a look at managing data-model complexity by Tim Connor
-
42:19
Ruby Conf 2011 Threading versus Evented by Dr Nic Williams