Posts about Programming languages
I've been learning Rust for the past 3 months and now comparing it with my experience of learning C++ I definitely think it's a lot more difficult. There are just so many rules that you need to have a good understanding of to efficiently program in Rust, including(but not limited to): ownership, the borrow checker, cargo, lifetimes, traits, generics, closures, unsafe rust, etc. Not to forget all the concepts that Rust has inherited from C++. However this could be because I've been following the book and it does go into a lot of detail. Comment your opinion.
Thanks for all the feedback, its been most helpful and enjoyable!
I also must say that after hearing what r/rust has to say I have revoked my opinion as I have realized that I myself am not yet fully informed about the deep complexities of C++ and therefore have made an un-educated opinion. After I finish learning from the book I plan to revisit C++ in hopes of developing a more thorough understanding. Thanks again.
I'm currently learning Python. After I'm finished, will other languages become easier to learn? Are the differences more syntax related or do the different languages have entirely new things to learn/practical applications?
Personally, I find C perfect except for a few issues:
No support for non capturing anonymous functions (having to create named (static) functions out of line to use as callbacks is slightly annoying).
Second argument of
fopen()should be binary flags instead of a string.
Signed right shift should always propagate the signbit instead of having implementation defined behavior.
Standard library should include specialized functions such as
itoato convert integers to strings without
What would you change?