Hacker News new | ask | show | jobs
by watergatorman 2426 days 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