Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
loglog
7mo ago
0 comments
Save
Share
While the `Optional` API is generally pretty inconvenient (compared e.g. to Kotlin), it does offer the more precise `ifPresent`.
0 comments
1 comments · 1 top-level
top
newest
oldest
vbezhenar
7mo ago
Java lambdas are terrible so I usually avoid them. There's no reason to invent new methods, when language already has corresponding statements.
j
/
k
navigate · click thread line to collapse