Re:Introducing MIR
by Sacho on Thursday April 28, 2016 @02:36AM
(#11586893)
My only complaint is the mix between snake_case and PascalCase. I tried removing it(in favor of snake_case, but you could probably get a similar result if going full PascalCase), and it looks much better(no guarantee it has the same semantics, I've never worked with rust):
[ Parent
| on HN ]
It sure does look more like C that way (if that's something you're into), but that also makes it harder to scan for types at a glance.
Rust used to work that way, but it was changed primarily to visually distinguish between enumerated variant names and variable bindings in patterns. e.g. match foo { none => ... } and match foo { non => ... } having completely different interpretations was confusing.