2019-09-17, 02:08 PM (ISO 8601)
Re: minor programming rant
Maybe not in this particular instance, but personally I like to write code that makes sense without the inside knowledge of what the language considers an exception or not. That's why I never use BETWEEN in SQL but instead use >= and <=, because I can never remember if BETWEEN includes the endpoints or not and I suspect I'm not alone in that. OK, that means I sometimes add redundant code elements, but I do so for the sake of readability.
Originally Posted by Jasdoif