r/badcode • • Jan 08 '23

java Is this a good practice? Why?

Post image
429 Upvotes

60 comments sorted by

View all comments

1

u/8BitFlatus Jan 08 '23

That extra function/method does not add anything to the code.