Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
dunefox
3y ago
0 comments
Share
Does it support matching patterns in data structures?
f [ [1, _]. [3, _] ] = ... f [ [], [10, 20] ] = ...
0 comments
default
newest
oldest
kaba0
3y ago
Given that java doesn’t have too much syntax sugar for data structures, I doubt this will come, but other kinds of destructors will be possible.
j
/
k
navigate · click thread line to collapse