3 ms·
The Nimrod version is shorter, but it seems harder to tell whether error-checking is done right.
by skybrian 13y ago
The Nimrod version is shorter, but it seems harder to tell whether error-checking is done right.
- idlewan 13y agoNimrod has exceptions. I am catching them (https://github.com/idlewan/nawak/blob/specialpages/nawak_mongrel.nim#L58 https://github.com/idlewan/nawak/blob/specialpages/nawak_mon...) and returning a 500 error page with the detailed exception message. So you need less explicit error-checking everywhere with a language that support exceptions.