Alexey Yakovlev
07/24/2021, 10:36 AMnfrankel
07/24/2021, 10:46 AMwait() and notify() are legacy ways to do thread synchronization
they have nothing to do with Object
it just happens that since every instance traces its ancestry to Object, it was the right place to put them
but thread sync is a cross-cutting concern
and not everything needs to be object-oriented
kotlin’s Any methods are actually generic to any instancenfrankel
07/24/2021, 10:48 AMObject methods
here’s an old piece of mine about Object.clone() that kotlin doesn’t has either
https://blog.frankel.ch/cloneable-java-design-gotcha/