Re:Rob Pike on the reasons for Go’s success
by watergatorman on Sunday November 03, 2019 @03:05PM
(#21436221)
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.
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