Hacker News new | ask | show | jobs
by selfmodruntime 473 days ago
> using <> for templates (rather than something like []) was a medium mistake

I never get this take. Array indexing is done with []. This would just confuse the hell out of me.

1 comments

It has the benefit of making the parsing of numeric comparisons unambiguous and trivial to parse. You'd use a different syntax for array indexing.