News for hackers. Stuff that matters.
Re:Java 20: A Sneak Peek on the Panama FFM API by code_runner on Wednesday December 07, 2022 @08:38PM (#33902982)
I’m new to Java so I just want to confirm… are you saying streams are or are not fashionable? Is there a better api out there?
Re:Java 20: A Sneak Peek on the Panama FFM API by yCombLinks on Wednesday December 07, 2022 @09:40PM (#33903434)
No, there are pre-streams answers, but streams are now fashionable.
Re:Java 20: A Sneak Peek on the Panama FFM API by erik_seaberg on Thursday December 08, 2022 @12:30AM (#33904549)
And streams are part of the reason checked exceptions are now unfashionable. Java doesn’t infer that a generic function arg should affect the caller’s exception signature.
Re:Java 20: A Sneak Peek on the Panama FFM API by code_runner on Thursday December 08, 2022 @05:20AM (#33906332)
Checked exceptions are the bane of my existence