Comment Comment by ChrisSD C++ classes vs. Rust traits isn't just a matter of syntax differences.Btw the function syntax is: fn foo(x: u16, y: u16) -> u32 If it were more C++ like it'd be: u32 foo(u16 x, u16 y) Which is less keystrokes if anything. parent ChrisSD 7 years ago
Btw the function syntax is:
If it were more C++ like it'd be: Which is less keystrokes if anything.