>>61179796
>problems
Hey, I love Rust too. But Rust feels so... restrictive. I mean you cannot add perform i8 + i32! Neither can you do Option<i32> (Some<i32>)+ i32! This is intense! Of course, the result = explicit conversions everywhere which makes itself harder to read.
Then again stuff like 22/7 is allowed. I wonder why didn't it choose to be strict and prevent the truncation.
Also suppose you are doing some procedural/linear-imperative style programming.
let a = 15;
//...
let x = &a;
//...
let y = &a;
//...
//Now you want to change a
//damn I have to go back and change mut a. Fair enough, let's do it.
//Then you realize you may have to change the mutability of x and y accordingly
let x = &mut a; //definately out of the table -- Risk of data race or dangling pointer
I mean these are not bad practices but these make it hard for a new comer to get into Rust. Specially if you are coming from a very tolerant language like Python or D etc.
"Hello world".println!; //won't compile
For fuck's sake, what's the point of UFCS then :(