Hmm instead Rust? Learn a low-level language which is very modern and also offers many abstractions you would expect from a modern language. At the same time, performant, memorysafe and a great active community.
That is a nice idea for sure but what I have seen beginners doing while finding the length of array in Rust and C is you can just do arr.len() as it is a method but in C they will get confused on how to do it because they are used to in-built functions. You have to do sizeof(arr)/sizeof(arr[0]) in C. I think it is necessary to know how it's done in the inner workings.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hmm instead Rust? Learn a low-level language which is very modern and also offers many abstractions you would expect from a modern language. At the same time, performant, memorysafe and a great active community.
That is a nice idea for sure but what I have seen beginners doing while finding the length of array in Rust and C is you can just do
arr.len()as it is a method but in C they will get confused on how to do it because they are used to in-built functions. You have to dosizeof(arr)/sizeof(arr[0])in C. I think it is necessary to know how it's done in the inner workings.