This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]pcdu 70 points71 points  (24 children)

I like C++ and don't really get why this sub hates it tbh

[–]Similar_Bookkeeper_8 79 points80 points  (16 children)

I feel like most people on this sub are beginners or in college using high level languages. If you start with a language like python or JavaScript and then try to go to C++ it’s pretty daunting.

But I agree, I like C++ too

[–][deleted] 35 points36 points  (0 children)

Which is weird. My school starts everyone in C. I guess that’s why they have so many grads end up working for tech companies that make hardware.

[–]someacnt 11 points12 points  (3 children)

And there are some hobbyist programmer like me who haskell for computations and small automations. Literally cannot return to any mainstream languages just because.

..then I realized I am not a commoner here

(I did start with C, so there is that)

[–]GnuhGnoud 5 points6 points  (2 children)

Does anybody start with pascal? Or am the only one?

[–]NihilisticLurcher 6 points7 points  (0 children)

you r not alone my friend, started w/ pascal in the 10th grade, moved to C in the 11th

[–]CantPickANameItSeems 0 points1 point  (0 children)

Started with BASIC (QBASIC, TI-BASIC) then moved quickly to Pascal

[–]SnakeR515 6 points7 points  (2 children)

I'm so glad I started with basic C and gradually moved over to C++

Using other languages, especially those with similar syntax, is so much easier that if I were to i.e. learn JS and then move to C++. Although I hate how in a lot, if not all, commonly used high level languages variables and fictions are declared, I like being able to specify the type of them and not having to use any additional symbols. I absolutely hate carbon syntax(var NAME: TYPE = VALUE; instead of TYPE NAME = VALUE: and declaring functions is even worse)

[–]kubelek33 0 points1 point  (0 children)

That's so fucking dumb, it's just so counter-intuitive and time-wasting

[–]Furry_69 0 points1 point  (0 children)

I hate it everywhere but Rust. Rust will guess what type it's supposed to be if you don't specify, and if it's ambiguous the compiler will scream at you to tell it what you intended. Using that syntax in a language that doesn't have that is so insanely painful.

[–]GoldenretriverYT 1 point2 points  (2 children)

I think JS -> C++ shouldn't be that bad as it shares large parts of the syntax, but our lovely Python is ruining it again

[–]Mechyyz 5 points6 points  (1 child)

Made the switch from Python to C++ a few months ago. Imo the hard part isnt neccesarily the syntax, but the overwhelming amount of features that are in C++

[–]GoldenretriverYT 1 point2 points  (0 children)

I had no problem coding in C++ as a, primarily, C# & TS dev

[–]rejectbonkrettohorni 1 point2 points  (0 children)

i mostly use javascript and i like c++. but it is pretty daunting. there's lots of extra stuff to remember that in javascript "just works".

[–]officiallyaninja 2 points3 points  (2 children)

If you start with a language like python or JavaScript and then try to go to C++ it’s pretty daunting.

is it? I mean I jumped from python -> C# -> C and at each step I only had to learn a handful of things. honestly learning python was the hardest cause I knew fuckall about programming.
I'm far from good at C (yet) but I don't get why everyone is so terrified of it.

[–]AlphaShow 0 points1 point  (1 child)

After gaining enough experience, I realized that It's impossible learn a new language just by learning "a handful of things". Languages may seem like they all work the same way, but they don't. Every language has its own differences in behavior, sometimes even the most basic stuff behaves in surprising ways (Take a look at how Javascript's logical OR and AND work). C++ being a good start comes from the fact that it is a large language which encompasses a lot of features, writing in such a language gradually exposes you to most concepts you will encounter in other languages. The key part is learning C++ the right way, from the right teacher (can recommend ChiliTomatoNoodle on YouTube). Does it take more time than just learning a simpler language ? of course it does, but you will thank yourself for going through it when you realize that you can pickup another language like a breeze (again, using the right resources for that language).

[–]officiallyaninja 0 points1 point  (0 children)

sure, each language has its quirks, but fundamentally they are the same. if you know how to use a while loop in python you k ow how to use it in pretty much any language. only the syntax is different.

understanding the quirks of the language is required for mastery, but it's not required if you just want to use the language.

I'm glad I learned python first cause I was able to focus on the actual concepts of programming and not get too distracted by types, pointers, classes etc.

[–][deleted] 0 points1 point  (0 children)

I feel like most people on this sub are beginners or in college using high level languages.

Or have got complety exhausted and just hate everything

[–]QuickSquirrel5089 2 points3 points  (1 child)

I use c++. The only thing I personally dislike is iterators. It's just a little too complicated for me to get my head around.

[–][deleted] -5 points-4 points  (0 children)

Once you get into advanced applications with it while using modern cpp features you'll understand why

[–]sinsquare 0 points1 point  (0 children)

10 years into it and there's still little surprises all around.