Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
0 points
JulianMorrison
14y ago
0 comments
Share
You're lucky Java is checked at compile time. Ruby would eat that "no such method dipose" and silently leak x.
undefined | Better HN
0 comments
default
newest
oldest
CodeMage
14y 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