4 ms·
IMHO, Oberon-2 WithStmt has much cleaner syntax than Go TypeSwitchStmt. WithStmt is easier to parse, more general and it doesn't need the Primary "." "(" "type
by watergatorman 7y ago
IMHO, Oberon-2 WithStmt has much cleaner syntax than Go TypeSwitchStmt.
WithStmt is easier to parse, more general and it doesn't need the Primary "." "(" "type" ")" at the beginning which appears only needed to distinguish Go ExpressionSwitchStmt from Go TypeSwitchStmt.
wgator2