Re:A C error handling style that plays nice with C++ exceptions
by apaprocki on Sunday May 04, 2014 @09:46AM
(#7694261)
Kind of OT, but since we're talking language interop, Fortran has neither eager nor short-circuit and/or and it is completely up to the compiler what optimizations it makes. Since Fortran ABI works directly with C (and by extension C++) natively, I've seen a whole class of bugs opened up by C/C++ devs either reading or writing Fortran not aware that this could happen. Try removing that from your mental model of how boolean logic works!
[ Parent
| on HN ]
There are no comments on this comment yet.