3 ms·
And just like the Python whitespace thing, in practice it doesn't seem to be a problem after the first day or so. You get used to it quickly.
by pjscott 14y ago
And just like the Python whitespace thing, in practice it doesn't seem to be a problem after the first day or so. You get used to it quickly.
- gngeal 14y agoNot if your brain is used to doing modular arithmetics since childhood. :/ Python whitespace and Lisp parens seem trite in comparison to that. I just get 1-based indices more often wrong that I get 0-based indices wrong. (When doing things like "given an interval of indices a-to-b, partition it into n subintervals so that every element of the original interval is in precisely one of the sub-intervals, and the lengths of the intervals are either the same or as close to each other as possible", I find the "count from one, bounds are inclusive" model horrible. How do you express an interval from a with the length of zero? It's just <a,a) with half-open intervals. What, <a, a-1>? So many special cases with the <a, b> model...)