6 ms·
I found this interesting. > "[...] give people rocket science without knowing that it’s rocket science. It’s kind of the wolf in sheep’s clothing model. I want
by karmakaze 4y ago
I found this interesting.
> "[...] give people rocket science without knowing that it’s rocket science. It’s kind of the wolf in sheep’s clothing model. I wanted C programmers to be able to look at a Java program and think they understood what was going on. And mostly they did."
In the case of the synchronized keyword, it gave Java developers the misconceived notion that concurrency was easy and (mutexes were) composable. The truth is that until the Java 5 (aka 1.5) memory model specification was published no one did or could know what was going on.