Hacker News new | ask | show | jobs
by maple3142 728 days ago
Hmm, there was an article about Java's BigDecimal behaves differently for equals and compareTo: https://igorstechnoclub.com/java-bigdecimal/
1 comments

That is a great example why I consider the spec buggy. With a proper spec, stuff like that would not fly from the start.