3 ms·
Depends. Scala can be used as "Java+" with heavily relying on OOP and side-effects, it isn't like Haskell where FP is the hard default. Rust is actually a very
by margorczynski 3y ago
Depends. Scala can be used as "Java+" with heavily relying on OOP and side-effects, it isn't like Haskell where FP is the hard default.
Rust is actually a very well designed language that takes the best ideas from FP (e.g. error/null handling wtih ADTs) where something like Go is stuck in the 80s without any sensible reason as to why.
The borrow checker and everything related to it is another matter but it actually solves the biggest hurdle in using e.g. C or C++ which are memory related bugs without any additional performance costs like with a garbage collector.