Y
Hacker News
new
|
ask
|
show
|
jobs
by
musicq
968 days ago
try/catch has no problem, but the premise is that you know there will be errors been thrown. Say a function `divide`, you can barely tell that whether it will throw errors or not without looking into the source code.