Friday, April 22, 2011

I Love Surprises

Awesome quote from the Java Language Spec:
In the absence of explicit synchronization, an implementation is free to update the main memory in an order that may be surprising. Therefore the programmer who prefers to avoid surprises should use explicit synchronization.
As you know, the premier loves surprises.

No comments:

Post a Comment