Zalán Tóth
Jul 6, 2022

--

Counter opinion: using explicit names should be the real code smell. Not because of the readibility stuffs, but because most of the times this kind of arguments (we dont know the type, difficult to read...) means bad code arrangement. All methods should be small and only doing one thing. This would improve not just the readability but also helps the Java compiler to inline many methods.

Although using exact type is not bad at all...

--

--

Zalán Tóth
Zalán Tóth

Written by Zalán Tóth

2xAWS, Go, Cloud, Kubernetes, Spring&Kotlin

No responses yet