voddan
01/04/2017, 9:18 AMdata class
is a guaranty of simplicity more than anything. Unfortunately most devs see it as equals-hashcode generator (bad marketing?). Maybe K could have a @generateEquals(::regular, ::mutableAlsoRegular)
annotation for code genaration which would work on any class