Embracing Objects Over Statics: An Analysis of Method Preferences in Open Source Java Frameworks

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Zakharov, Vladimir, Bugayenko, Yegor
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916426086875136
author Zakharov, Vladimir
Bugayenko, Yegor
author_facet Zakharov, Vladimir
Bugayenko, Yegor
contents In today's software development landscape, the extent to which Java applications utilize object-oriented programming paradigm remains a subject of interest. Although some researches point to the considerable overhead associated with object orientation, one might logically assume that modern Java applications would lean towards a procedural style to boost performance, favoring static over instance method calls. In order to validate this assumption, this study scrutinizes the runtime behavior of 28 open-source Java frameworks using the YourKit profiler. Contrary to expectations, our findings reveal a predominant use of instance methods and constructors over static methods. This suggests that developers still favor an object-oriented approach, despite its potential drawbacks.
format Preprint
id arxiv_https___arxiv_org_abs_2410_05631
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Embracing Objects Over Statics: An Analysis of Method Preferences in Open Source Java Frameworks
Zakharov, Vladimir
Bugayenko, Yegor
Software Engineering
Programming Languages
In today's software development landscape, the extent to which Java applications utilize object-oriented programming paradigm remains a subject of interest. Although some researches point to the considerable overhead associated with object orientation, one might logically assume that modern Java applications would lean towards a procedural style to boost performance, favoring static over instance method calls. In order to validate this assumption, this study scrutinizes the runtime behavior of 28 open-source Java frameworks using the YourKit profiler. Contrary to expectations, our findings reveal a predominant use of instance methods and constructors over static methods. This suggests that developers still favor an object-oriented approach, despite its potential drawbacks.
title Embracing Objects Over Statics: An Analysis of Method Preferences in Open Source Java Frameworks
topic Software Engineering
Programming Languages
url https://arxiv.org/abs/2410.05631