Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
ejboy
· 1mo ago · 0 comments
I would never use the proposed style for Java. This is simpler and easier to understand for anyone with basic knowledge of Java. Readability is more important than fancy features:
if (obj instanceof Point p) {
foo(p.x(), p.y()); }
Comments
No comments yet.
Better HN