News for hackers. Stuff that matters.
Re:Declaring C String Constants by geezerjay on Saturday May 20, 2017 @02:46AM (#14381323)
> do weird things to reasonable-looking code, citing "undefined behavior" as an excuse.

If the behaviour is undefined then the code is broken. Programmers need to learn the language instead of putting together hail mary code expecting it to somehow work in spite of the language specifically telling them that they should not expect any defined behavior out of it.

People who whine about undefined behavior are like kids who insist in jamming their fingers in a electric socket and whine when they get a shock.

Re:Declaring C String Constants by iainmerrick on Tuesday May 30, 2017 @04:28PM (#14448279)
It would be nice for the compiler to be a friend and ally, rather than a mischievous opponent.