计算机科学 > 程序设计语言
[提交于 2021年4月2日]
标题:Immutability and Design Patterns in Ruby
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:Seamus Brady[v1] 2021年4月2日 星期五 00:00:00 UTC