2009-09-30, 07:03 PM
I never see THAT many try/catch-expressions in java-code. Mind putting some up?
It's not necessarily bad code, efficient-wise. It's just ugly. Instead of throwing an error, you should rather just return null. But well, for type-specified languages, that turns out to be rather hard. I consider it as a workaround.
I really hate Python at dictionaries there though. dict[key] raises KeyError when key is missing. asdf.
It's not necessarily bad code, efficient-wise. It's just ugly. Instead of throwing an error, you should rather just return null. But well, for type-specified languages, that turns out to be rather hard. I consider it as a workaround.
I really hate Python at dictionaries there though. dict[key] raises KeyError when key is missing. asdf.

