Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> it takes longer to learn the basics of Rust compared to C++.

Does it really? For example I'd think that initialization of objects is a topic that should be in "basics", yet initialization of objects in C++ seems disproportionately complex compared to Rust (at least to me).



Yet, object initialization is not a thing anyone needs to pay much attention to. Yes, there are historical rabbit holes, but you need not go down them.


> object initialization is not a thing anyone needs to pay much attention to

So it's perfectly fine for me to leave objects uninitialized because of lack of attention?


It's perfectly fine to initialize them in the simplest and most obvious way.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: