Skip to content
This repository has been archived by the owner on Jun 14, 2022. It is now read-only.

Empirically proven that immutable Java classes are smaller than mutable ones

Notifications You must be signed in to change notification settings

yegor256/size-vs-immutability

Repository files navigation

latex License

Question: Is there a correlation between Java class size and its immutability? It is suggested that immutable classes are smaller. This research proves this hypothesis. The article was presented at KES 2020 conference and published by Elsevier. If you want to cite this paper, use this:

@article{bugayenko2020immutability,
  author={Yegor Bugayenko and Sergey Zykov},
  title={The Impact of Object Immutability on the Java Class Size},
  journal={Procedia Computer Science},
  volume={176},
  pages={1868--1872},
  year={2020}
}

You need to have installed:

  • LaTeX
  • Make
  • Git
  • Python 3.7+
  • Ruby 2.6+

Just run make and in a few seconds hours, you will get article.pdf file ready inside /paper.

Don't want to compile? Just read the PDF.