3 ms·
agreed, I’ve tried to pick up rust a few times and the syntax has always made me give up halfway through the point of writing a real project. It’s really a sham
by voidhorse 4y ago
agreed, I’ve tried to pick up rust a few times and the syntax has always made me give up halfway through the point of writing a real project. It’s really a shame since they had every opportunity not to make the syntax horrible. CPP has horrendous syntax but a lot of that is because they needed to start representing features over time that didn’t exist from the ground up. Rust had pretty much all of its killer features form the start but for unknown reasons elected to use a tremendously noisy syntax that seems to be inspired by the monstrosity that is modern cpp syntax.
- kibwen 4y agoIt shouldn't be surprising that Rust's syntax is inspired by C++, Rust is literally designed to entice C++ programmers, and the syntax reflects that (modulo a handful of irresistible ML-isms to match the type system).