4 ms·
This one is partially nonsense too. Here's a snippet that starts talking about super() and then abruptly switches to string templates. > These include statemen
by omajid 2y ago
This one is partially nonsense too. Here's a snippet that starts talking about super() and then abruptly switches to string templates.
> These include statements before super(…), which would give developers greater freedom in expressing constructor behavior – meaning string templates. This would make it easy to express strings that include values computed at run time – meaning scoped values. This would enable sharing of immutable data within and across threads; and implicitly declared classes and instance main methods.
- cryptonector 2y agoAll of that stuff about strings is utter nonsense. And it doesn't link the JEP for statements before super (https://openjdk.org/jeps/447 https://openjdk.org/jeps/447).