• Corpus ID: 232478763

Immutability and Design Patterns in Ruby

@article{Brady2021ImmutabilityAD,
  title={Immutability and Design Patterns in Ruby},
  author={Seamus Brady},
  journal={ArXiv},
  year={2021},
  volume={abs/2104.00379}
}
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 paper examines three ways in which Immutability, a common Functional Programming technique, can be used to develop immutable objects in Ruby. 

Tables from this paper

On the Bug-proneness of Structures Inspired by Functional Programming in JavaScript Projects

TLDR
The prevalence of four concepts typically associated with functional programming in JavaScript, recursion, immutability, lazy evaluation, and functions as values are quantified to suggest that functional programming concepts are important for developers using a multi-paradigm language such as JavaScript, and their usage does not make programs harder to understand.

References

SHOWING 1-4 OF 4 REFERENCES

Effective Java, 2nd Edition

What do you do to start reading effective java 2nd edition? Searching the book that you love to read first or find an interesting book that will make you want to read? Everybody has difference with

Functional Programming Is Hard, That's Why It's Good

    Use Inheritance or Delegation to Define Immutable Classes

      Effective Java

      • 2008