top | item 33440222

(no title)

thrwyoilarticle | 3 years ago

I've drank C++'s kool aid. I believe in the vision and think of everything in C++ terms.

...I think I could last about 3 months in another language before I'd forgotten too much to go back.

discuss

order

gridspy|3 years ago

I doubt that's true. I haven't used C++ for many years now. I was in your boat a few years ago (C/C++ since 1990) but now 6+ years Python then Rust centric. I still think in C++ terms when writing rust, although most of the time it's "I would need 10 lines to do this 1 line of rust code were I still using C++."

I dabble in C++ occasionally as a contractor. No problem picking up the new features and making useful contributions.

C++ maps pretty directly into Rust. I found it useful to understand the underlying data representation in memory. For instance https://doc.rust-lang.org/nomicon/repr-rust.html

pjmlp|3 years ago

I moved into managed compiled languages back in 2006, still dabble in C++ pretty much ok, and code is relatively modern (enjoying modules in VC++ nowadays).