HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by rilut | Hacker News Reader
Full thread
rilut
·
Why [T]? Why not <T>? It confuses with array selection
View on HN
sametmax
·
I imagine it's to avoid to change too much the parser. [] is already used to enclosed stuff, while < and > are operators.
userbinator
·
Just to be different (see the ternary operator for a past example)? And <T> confuses with the comparison operators.
Reply on news.ycombinator.com