4 ms·
Are you guys C or C++ programmers? (I'm not.) Here's why I ask. I started with Ruby. Since then, I've branched out to a bunch more, including Rust. Most ar
by gemstones 4y ago
Are you guys C or C++ programmers? (I'm not.) Here's why I ask.
I started with Ruby. Since then, I've branched out to a bunch more, including Rust. Most are fairly easy to pick up.
There is, however, a class of languages I'm totally scared to try and pick up. They're C, C++, and PHP. It's not because they're bad languages, or I couldn't learn them - it's just that all those languages have a reputation for making security holes easy by default. There will be a learning curve where I'm an actively dangerous programmer to be around. I'm gonna just stay away.
If I started with C++, and not Ruby - my perspective would be quite different. I would assume there are dangerous footguns lurking in every other language as well. Learning any language would be a scary thing.
I would try to learn Rust. Its compiler won't prevent every bug or hole, but it's hard to screw things up as you're learning. There's really only one rule, to avoid using unsafe unless you really can be intentional about what you're doing. If it's uncertainty that keeps you from learning - most languages are far more forgiving than what you're used to. And if not, none of these points apply, I guess.