|
|
|
|
|
by drdrey
3352 days ago
|
|
Pattern matching allows far more than just branching by type comparisons. And I disagree that this is bad code style, this is actually a very common pattern in compilers (e.g. when you iterate a list of instructions, which may be of different types) |
|