4 ms·
I like rust, but for me, it is significantly more difficult to read and write. Same can be said about C++ with extreme STL code.. I prefer to read and write si
by z3phyr 7y ago
I like rust, but for me, it is significantly more difficult to read and write. Same can be said about C++ with extreme STL code..
I prefer to read and write simple C like syntax. I would love it if I can get Rust concept of borrowing in C, or even simple operator overloading..
- wwright 7y agoYou’re free to use Rust that way if you prefer.
- Avamander 7y agoSame, I heavily prefer less symbols in my code. I think it might also relate to how I find it much harder to remember long formulas but than remembering the sentence describing the formula. If I could type for example `brw x` instead of `&x` I think I'd like it more - I guess I like it more Python-y?
- cdirkx 7y agoYou could use a macro :) macro brw($expr:expr) { &$expr } And use it like 'brw!(x)' instead of '&x'.
- Johan-bjareholt 7y agoIronic, the most complicated thing for me to understand when I started writing rust was borrowing and lifetimes. The rest of the common features of Rust isn't too complicated to understand.
- z3phyr 7y agoUnderstanding the concepts is not the issue with me (as of now). It is the hard to read syntax (my personal opinion!). It puts a lot strain on my mind. Same is the case with C++ with extreme use of STL. I have difficulty in reading that, although with clear mind, I will eventually get the code, it is not fun.