Conversation

Am I wrong for wishing that rust had chosen a type syntax more like Haskell and less like C++? I know C++ programmers were a more important target demo than Haskell programmers, but all the stabby brackets make me a little sad. They're so pointy.
7
36
Been using Rust since late 2012, and yes, I'm with you on this. Sadly they used to be square brackets (before my time), and were changed to pointy brackets somewhere along the line.
1
2
There's also the dual use of spaces (juxtaposition, really) for abstraction and application (`f a` as a type vs `f a` as an expression), which doesn't make as much sense in Rust.
1
1
Show replies