Live data from Hacker News

I learnt C++ in 2018 and have no regrets

vishnubharathi.codes

1–10 of 259 posts

Re: I learnt C++ in 2018 and have no regrets

#7

Unless your job demanded it I can't think of a compelling reason for a Node guy to learn C++ as their go to choice of OO language. Why not Java? Even Python is a good gateway to OO for folks coming straight form Node background.

I can think of one: C++ is Node's extension language (being the language V8 is implemented in). If you want Node to do things not already built into it or talk to a library that doesn't have a package available for it already, you have to use C++.

Re: I learnt C++ in 2018 and have no regrets

#8
What's there to regret? For purely edification purposes, there isn't a better OOP language ( though it encompasses other paradigms as well and isn't purely OOP ) since it doesn't have training wheels. You could hurt yourself with it but it certainly allows you to explore and learn.

Also, you could "learn" it in a year, but it takes you a lifetime to master it.

Re: I learnt C++ in 2018 and have no regrets

#9

Unless your job demanded it I can't think of a compelling reason for a Node guy to learn C++ as their go to choice of OO language. Why not Java? Even Python is a good gateway to OO for folks coming straight form Node background.

c++ is not an OO language. C++ is a tool to get things done in the real world using whatever paradigm makes sense for your problem. Sometimes that is OO, sometimes not.

C++ is very messy, but for the most part you can ignore the messy things.

Re: I learnt C++ in 2018 and have no regrets

#10

What's there to regret? For purely edification purposes, there isn't a better OOP language ( though it encompasses other paradigms as well and isn't purely OOP ) since it doesn't have training wheels. You could hurt yourself with it but it certainly allows you to explore and learn. Also, you could "learn" it in a year, but it takes you a lifetime to master it.

Opportunity cost.
Post reply on HN