wamaral
Re:Undefined Behavior in 2017
on Wednesday July 05, 2017 @09:09AM (#14702075)
OP was talking about a compiler option, that most likely would not break anything unless you enable the flag.
As for choice, I'll take "here's what happens" vs "your code is in the hands of fate now" any day. Glad we do have choice.
Re:Undefined Behavior in 2017
on Wednesday July 05, 2017 @09:01AM (#14702029)
Rather define the behaviour of what happens when addition of two ints exceed the maximum allowed value.
Re:Undefined Behavior in 2017
on Wednesday July 05, 2017 @08:09AM (#14701722)
Then by all means reject it, way better than blowing up in production.
If the language does not prevent these mistakes from happening where it would be possible to do so, isn't the language at fault?
Re:Show HN: In-view.js – Get notified when DOM elements enter or exit ...
on Saturday August 27, 2016 @12:46PM (#12373096)
Only yesterday I implemented this in an application, although a bit simpler (is the user < n pixels from the bottom of the document? then render more heavy stuff) so yeah, that's a pretty recurrent use case for a library like that.
Re:Donkey – A computer game included with early versions of PC DOS
on Monday July 18, 2016 @03:57PM (#12117689)
I'm curious, is there a specific use case for using such a language today? Is it just legacy?