Asked on Reddit: Which of Rust, D, Go, Nim, and Crystal is the strongest and why?
Dave via Digitalmars-d
digitalmars-d at puremagic.com
Thu Jun 11 13:20:29 PDT 2015
On Thursday, 11 June 2015 at 20:06:45 UTC, Kagamin wrote:
> On Thursday, 11 June 2015 at 18:17:01 UTC, Dave wrote:
>> Disagree. Traditionally also handled by throwing exceptions. C#
>> throws a Format exception if a parse fails.
>
> https://msdn.microsoft.com/en-us/library/f02979c7%28v=vs.110%29.aspx
> https://msdn.microsoft.com/en-us/library/bb299639%28v=vs.110%29.aspx
Forgot the one named "Parse"...
https://msdn.microsoft.com/en-us/library/b3h1hf19(v=vs.110).aspx
Microsoft does lets you opt out (as I suggested). The default
function, the one actually named "Parse" (Int32.Parse), throws an
exception by default.
More information about the Digitalmars-d
mailing list