Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
JulianMorrison
15y ago
0 comments
Save
Share
You're lucky Java is checked at compile time. Ruby would eat that "no such method dipose" and silently leak x.
0 comments
1 comments · 1 top-level
top
newest
oldest
CodeMage
15y ago
You're lucky Java is checked at compile time.
Not lucky enough, because x.dispose() could throw an unchecked exception.
j
/
k
navigate · click thread line to collapse