Re:Nimrod: A New Approach to Metaprogramming [video]
by skybrian on Thursday January 16, 2014 @03:40PM
(#7072376)
The Nimrod version is shorter, but it seems harder to tell whether error-checking is done right.
Re:Nimrod: A New Approach to Metaprogramming [video]
by idlewan on Thursday January 16, 2014 @03:49PM
(#7072449)
Nimrod has exceptions. I am catching them (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.
It can improve readability a good deal. Here's an example I made: https://github.com/TechEmpower/FrameworkBenchmarks/blob/mast...
Go version: https://github.com/TechEmpower/FrameworkBenchmarks/blob/mast...