|
|
|
|
|
by seanmcdirmid
2264 days ago
|
|
Scala uses brackets for generics and parens for array accesses. It works nicely, I think. The primary argument against < and > as generic brackets is that the ambiguity can make for some confusing error messages. It also prevents you from pre-matching your braces before the parsing phase (a technique that enhances error recovery). |
|