logoalt Hacker News

joe_mwangiyesterday at 12:17 PM1 replyview on HN

Yeaaah. They are going to introduce approaches for the programmer to decide if tearability is allowed or not. Already there are internal annotations for fields and types to enable it that probably will become a language feature in future.


Replies

DarkNova6yesterday at 2:39 PM

The Java way was always to let library designers decide how a type is used. I personally think this is the sensible one.