Skip to content

seamus-brady/Immutable-Design-Patterns-in-Ruby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Immutable Design Patterns in Ruby

How to develop immutable objects in Ruby

Functional Programming has seen a resurgence in interest in the last few years and is often mentioned in opposition to Object-Orientated Programming.

However, Object-Orientated Programming can actually absorb some of the lessons of Functional Programming to improve performance and reliability.

This code is from a paper that examines three ways in which Immutability, a common Functional Programming technique, can be used to develop immutable objects in Ruby.

You can read the paper here:

http://seamusbrady.ie/wp-content/uploads/2015/07/ImmutabilityandDesignPatternsinRuby.pdf

About

How to develop immutable objects in Ruby

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages