`obj[...]` syntax is "legacy" and should be removed

+1 for C++ -style angle brackets <> for comptime arguments, instead of []

Mojo depends heavily on that mental distinction - it should be obvious and context free. “[]” is like wanting to be everything for everybody, ending up to be confusing for most

This goes back to Feedback request: Should Mojo adopt "specialization" for what we currently call "parameters"? - #17 by Nick
”<>” == comptime, “[]” == runtime (whatever you call it)

1 Like