News for hackers. Stuff that matters.
Re:The Anti-Human Consequences of Static Typing by hcarvalhoalves on Monday August 12, 2013 @05:48PM (#6202311)
> (+ 1 > (if (negative? (fahrenheit->kelvin (abs some-number))) > "2" > 2))

This is inconsistent code to being with, though. You can't guarantee it "never" reaches the first branch, as much as you can't guarantee there aren't bugs in the conversion function, or on the underlying interpreter, or that machine details wouldn't make a big enough number wrap around and return negative. All in all, an inconsistent code branch hanging around is a bug even if it compiles.

This is more an evidence that "if" is evil rather than an argument about typing, really.

There are no comments on this comment yet.