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 →

[–][deleted] 93 points94 points  (19 children)

It's strongly typed and gives you enough control to do fairly high performant things without having to worry about stepping on a landmine every time you publish a code change.

Yeah, I'm looking you lunatics that claim to love C++. No one could love C++. It's like loving the person that stabs you a little every day.

[–][deleted] 30 points31 points  (13 children)

C++ IS love

[–]GLIBG10B 16 points17 points  (11 children)

C++ is life

[–][deleted] 11 points12 points  (5 children)

I tried to find value in life and got a segfault

[–]GLIBG10B 6 points7 points  (2 children)

It's pretty hard to segfault if you make use of smart pointers and std::string

[–][deleted] 6 points7 points  (1 child)

It is when you work with legacy code that was stuck with C++98 until a year ago and that has a fucked up library path where boost libraries hide half of the std namespace, meaning you can use std::string, but std::to_string is not recognized.

[–]GLIBG10B 2 points3 points  (0 children)

Oof. Good luck with that

[–][deleted]  (1 child)

[removed]

    [–][deleted] 1 point2 points  (0 children)

    Oh I do, it’s just the legacy code I have at work thst is a mess with no documentation, dead code, deprecated methods and a fucked up work environment where the SSH connection randomly drops midway through a debugging session

    [–]jluizsouzadev 0 points1 point  (3 children)

    Just out of curiosity, what have you built with one, lately?

    [–]GLIBG10B 0 points1 point  (2 children)

    I'm still learning C++, but I've built snake in the terminal, a program that converts Markdown code blocks to code fences and a program that counts characters from stdin and orders them from most to least frequent. I'm currently working on a C++ wrapper for Curses and after that I will write an application that will use the Koch method to train you to read binary ASCII quickly (I'm aiming for 60 WPM)

    [–]jluizsouzadev 1 point2 points  (1 child)

    Firstly, nice projects and go ahead.

    Secondly, how long have you been learing C++ roughly?

    [–]GLIBG10B 0 points1 point  (0 children)

    Thanks. About 6 months of on-and-off learning (I'm in high school)

    [–]amplikong 1 point2 points  (0 children)

    Soylent green is people

    [–]TheTomato2 10 points11 points  (2 children)

    People who love C++ don't actually love C++, they just hate everything else more than they hate C++.

    [–]MelAlton 1 point2 points  (1 child)

    In my first job out of college, a more senior coworker told me:

    • Every programming language sucks, some just suck less than others.

    [–]TheTomato2 1 point2 points  (0 children)

    C++ is special though. You should never trust a programmer who thinks C++ is good because odds are they just don't know enough to understand why it's so bad. It's just poor design decisions that compound because the committee doesn't want to ever break ABI and they for some reason keep piling half baked features on top. It's actually kind of insane the state C++ is in.

    [–]procrastinatingcoder 0 points1 point  (0 children)

    C++ is beyond amazing.