DEV Community

Discussion on: Did you ever try to write Java equals() with clean code style?

 
johannesvollmer profile image
Johannes Vollmer

Thanks, I agree. :)

Did you try to speak with your team about Kotlin? I heard it can be used virtually side by side with Java source code. You can exchange maybe just a single file with Kotlin.
Of course, the developers would have to learn Kotlin (which is said to be not that hard if you already know Java).

In hindsight, I realize that I just like the separation of logic and boilerplate in my example.

Cheers! :)

Thread Thread
 
voins profile image
Alexey Voinov

Well, actually I am the one, who's against adding new languages to the code base. It just doesn't work with the team of about a thousand engineers working on a monolithic java project with size over 10GB (source code only). :) I know how to deal with such projects and turning it into something manageable, but it seems like our management don't. :)

Thread Thread
 
johannesvollmer profile image
Johannes Vollmer

I see, that sounds difficult. :)