sisalcat
Re:Go 1.3 beta 1 released
on Wednesday April 23, 2014 @02:12PM (#7635788)
The first one (string with variable interpolation) is not internationalizable, only the third one is.
> the third has ordering issues
In Go you can specify the order in format strings: fmt.Sprintf("%[2]d %[1]d\n", 11, 22)
Re:Rust for C++ programmers – part 3: primitive types and operators
on Wednesday April 23, 2014 @02:35AM (#7632502)
That's a strange definition of "crash" you have there. I should go tell my customers next time that their programs definitely didn't crash.
Re:Rust for C++ programmers – part 3: primitive types and operators
on Wednesday April 23, 2014 @02:24AM (#7632473)
Yes, I can catch SIGSEGV. And I can catch Java NullPointerExceptions and ArrayIndexOutOfBoundsExceptions. So Java prevents all crashes, lol.
Re:Rust for C++ programmers – part 3: primitive types and operators
on Wednesday April 23, 2014 @02:16AM (#7632444)
This prevents buffer overflow errors, but not crashes.
Re:Rust for C++ programmers – part 3: primitive types and operators
on Wednesday April 23, 2014 @02:16AM (#7632439)
> it will cause a task failure
i.e. a crash.
Re:Rust for C++ programmers – part 3: primitive types and operators
on Wednesday April 23, 2014 @01:48AM (#7632355)
From the project home page: "prevents almost all crashes (in theory)"
How does it prevent index out of bounds errors and division by zero? No, not even in theory. What a ridiculous claim.