Reply to post: Re: The old problem of the programmer perisope view of the world..

Classy move: C++ 20 wins final approval in ISO technical ballot, formal publication expected by end of year

Robert Forsyth

Re: The old problem of the programmer perisope view of the world..

From my 41 years of limited experience

Usually when a previous programmer has commented that their hack was to workaround a compiler bug, they have not understood what they were trying to do or the machine could do for them, and the compiler was fine.

I suppose the compiler should protect the programmer when they use a binary floating point variable as their loop counter and increment by the binary approximation of 0.1.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon