Hacker News new | ask | show | jobs
by omajid 789 days 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.

1 comments

All of that stuff about strings is utter nonsense. And it doesn't link the JEP for statements before super (https://openjdk.org/jeps/447).