evan_tech

Previous Entry Share Next Entry
01:38 pm, 7 Sep 07

french math

In some code I had described a range in a comment with an expression like
// ... x in [start,end) ...
to mean that start <= x < end .

My code reviewer said he thought I had a typo. After some back and forth, we figured it out: he (who is French) learned to express this concept as [start,end[ which, when you look at it, is actually pretty sensible.