|
|
|
|
|
by amadiver
5558 days ago
|
|
Pretty neat. Mirah is to Java as CoffeeScript is to JavaScript? Looks very similar to ActionScript 2, with shades of Scala. Really neat looking language. Anyone know where the `param: Type` (i.e., parameter name colon type) convention came from? I've seen it more frequently lately, and I wonder if it's easier to parse than Java's `Type param` (or my favorite: `param Type`)? |
|
The param:type notation I largely just stole from Scala, but it seems (in my novice opinion) easier to parse as well. It also fits better with optional type declarations, which we have in the case of interface impl or class extension (easier to omit syntax on the RHS than on the LHS for a typical parser).