Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sisalcat
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
sisalcat
12y ago
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) http
2.
▲
by
sisalcat
12y ago
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.
3.
▲
by
sisalcat
12y ago
Yes, I can catch SIGSEGV. And I can catch Java NullPointerExceptions and ArrayIndexOutOfBoundsExceptions. So Java prevents all crashes, lol.
4.
▲
by
sisalcat
12y ago
This prevents buffer overflow errors, but not crashes.
5.
▲
by
sisalcat
12y ago
> it will cause a task failure i.e. a crash.
6.
▲
by
sisalcat
12y ago
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.