4 ms·
You forgot case-insensitive string comparisons by default. I'm still trying to decide if I like that default. Ultimately it's a small thing that doesn't really
by Buttons840 10y ago
You forgot case-insensitive string comparisons by default. I'm still trying to decide if I like that default. Ultimately it's a small thing that doesn't really matter though.
- throwaway7645 10y agoDidn't know about that, but I think Rebol was the same way. I'm not sure what you gain from insensitivity here. In my opinion, "Hello" != "hello".
- draegtun 10y agoIn Rebol / Red... >> "Hello" != "hello" == false >> "Hello" !== "hello" == true !== is a stricter equal [1] where both values must be of same type and is case sensitive on strings, chars & words. [1] see strict-equal? function - http://www.rebol.com/r3/docs/functions/strict-equal-q.html http://www.rebol.com/r3/docs/functions/strict-equal-q.html
- throwaway7645 10y agoThanks for clearing that up!