Hacker News new | past | comments | ask | show | jobs | submit login

Was this article hallucinated by ChatGPT? Many of the features described look odd and it doesn't cite sources for them.

For example, the "stream gatherer in action" example seems to just be using collectors, which is an older feature[0].

The scoped value example (which "could revolutionize [...] enhancing the efficiency") seems to use some API I can't find in the JEP and which has zero hits on Google aside from this article. It also has the text "java" and "Copy code" at the start of the code snippet, as if it was copied from somewhere and accidentally copied the UI elements.

The string template example uses a completely different syntax from what I've seen proposed, without giving any details about this changing.

[0] https://www.baeldung.com/java-groupingby-collector




You are very likely right. I can't find sources for this. Sad to see.




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: