Try/Catch DU Exception

Attila Kelemen attila.kelemen85 at gmail.com
Mon Jul 15 18:51:52 UTC 2024


Olexandr Rotan <rotanolexandr842 at gmail.com> ezt írta (időpont: 2024. júl.
15., H, 20:49):

> Specifically in that case, I wouldn't say that this is kind of an issue
> that is significant enough to discard the idea, it is still a con of this
> change, and, imo, must be accounted. Though for kotlin specifically, there
> are much greater compromises that kotlin devs are used to than final
> variable that may be accidentally initialized twice
>
Actually the main concern here is not that a variable is initialized twice
(that would be whatever in my opinion). The main issue is that you might be
able to observe a value of a variable that should be impossible.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/amber-dev/attachments/20240715/91c1d5f0/attachment-0001.htm>


More information about the amber-dev mailing list