计算机科学 > 软件工程
[提交于 2024年10月10日]
标题:Embracing Objects Over Statics: An Analysis of Method Preferences in Open Source Java Frameworks
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要: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.
提交历史
来自:Yegor Bugayenko[v1] 2024年10月10日 星期四 00:00:00 UTC