From 22fce8e16f850de1c79ee8bae591cf5b520b5e48 Mon Sep 17 00:00:00 2001 From: Simon Cruanes Date: Mon, 19 Feb 2018 14:16:23 -0600 Subject: [PATCH] point to JST's blog post on poly compare --- README.adoc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.adoc b/README.adoc index cec38ef8..47c4158f 100644 --- a/README.adoc +++ b/README.adoc @@ -93,6 +93,11 @@ you use polymorphic comparison where the type of data being compared may vary (e.g. it's an int now, but it may be a map later), you're planting a bug for the future. +See also: + +- https://blog.janestreet.com/the-perils-of-polymorphic-compare/ +- https://blog.janestreet.com/building-a-better-compare/ + === Sometimes polymorphic operators still make sense! If you just want to use polymorphic operators, it's fine! You can access them