Unable to load image

how to learn c plus plus

bottom text

11
Jump in the discussion.

No email address required.

Can you already code? Why do you want to learn C++?

Jump in the discussion.

No email address required.

Can you already code?

I made a html site in middle school

Why do you want to learn C++?

I need a skill and escape neetdom

Jump in the discussion.

No email address required.

No one really uses C++ anymore, what do you want to do with code? Write UIs? Mobile apps? Become a data scientist?

Jump in the discussion.

No email address required.

No one really uses C++ anymore

HAHAHAHAHAHA

:#marseyxdtalking:

Write UIs? Mobile apps? Become a data scientist?

Lowest tier nerds

:#marseyrofltalking:

Jump in the discussion.

No email address required.

Sure thing old man. Keep propping up that mainframe.

Jump in the discussion.

No email address required.

Don't misgender :marseynails:

:#marseytransflag2talking:

Jump in the discussion.

No email address required.

Unfortunately the mainframe runs COBOL and the last dev just turned 75

Jump in the discussion.

No email address required.

I want to put it on my resume, i dont care what i gotta do as long as i earn money. Otherwise im studying mechatronics

Jump in the discussion.

No email address required.

You'll have a hard time learning a language without a project in mind. Come up with an idea for what you want to create and then pick the right language for doing that. Rust or Go are probably better alternatives to C++ if you're looking for that kind of hardcore boring shit.

Jump in the discussion.

No email address required.

Imagine calling C++ :marseyairquotes: hardcore boring shit" :marseyairquotes:

:#marseykys2: :#marseydoit:

!codecels

Jump in the discussion.

No email address required.

Haven't programmed C++ for a while but it is kind of fun working with pointers

Jump in the discussion.

No email address required.

does modern C++ even use them that much?

Jump in the discussion.

No email address required.

no raw pointers are used rarely

Jump in the discussion.

No email address required.

More comments

Rust has pointers too though. What are you programming since then?

Jump in the discussion.

No email address required.

Enterprise shit 😭

Jump in the discussion.

No email address required.

More comments

YOU are full of bullshit.

C++ is a horrible language. It's made more horrible by the fact that a lot

of substandard programmers use it, to the point where it's much much

easier to generate total and utter crap with it. Quite frankly, even if

the choice of C were to do nothing but keep the C++ programmers out,

that in itself would be a huge reason to use C.

In other words: the choice of C is the only sane choice. I know Miles Bader jokingly said "to piss you off", but it's actually true. I've come to the conclusion that any programmer that would prefer the project to be

in C++ over C is likely a programmer that I really would prefer to piss off, so that he doesn't come and screw up any project I'm involved with.

C++ leads to really really bad design choices. You invariably start using the "nice" library features of the language like STL and Boost and other total and utter crap, that may "help" you program, but causes:

  • infinite amounts of pain when they don't work (and anybody who tells me that STL and especially Boost are stable and portable is just so full of BS that it's not even funny)

  • inefficient abstracted programming models where two years down the road you notice that some abstraction wasn't very efficient, but now all your code depends on all the nice object models around it, and you cannot fix it without rewriting your app.

In other words, the only way to do good, efficient, and system-level and portable C++ ends up to limit yourself to all the things that are

basically available in C. And limiting your project to C means that people don't screw that up, and also means that you get a lot of programmers that

do actually understand low-level issues and don't screw things up with any idiotic "object model" crap.

So I'm sorry, but for something like git, where efficiency was a primary objective, the "advantages" of C++ is just a huge mistake. The fact that

we also piss off people who cannot see that is just a big additional advantage.

If you want a VCS that is written in C++, go play with Monotone. Really.

They use a "real database". They use "nice object-oriented libraries".

They use "nice C++ abstractions". And quite frankly, as a result of all

these design decisions that sound so appealing to some CS people, the end

result is a horrible and unmaintainable mess.

But I'm sure you'd like it more than git.

        Linus

From: Linus Torvalds

Subject: Re: Compiling C++ kernel module + Makefile

Date: Mon, 19 Jan 2004 22:46:23 -0800 (PST)

On Tue, 20 Jan 2004, Robin Rosenberg wrote:

This is the "We've always used COBOL^H^H^H^H" argument.

In fact, in Linux we did try C++ once already, back in 1992.

It sucks. Trust me - writing kernel code in C++ is a BLOODY STUPID IDEA.

The fact is, C++ compilers are not trustworthy. They were even worse in

1992, but some fundamental facts haven't changed:

  • the whole C++ exception handling thing is fundamentally broken. It's

    _especially_ broken for kernels.

  • any compiler or language that likes to hide things like memory

    allocations behind your back just isn't a good choice for a kernel.

  • you can write object-oriented code (useful for filesystems etc) in C,

    _without_ the crap that is C++.

In general, I'd say that anybody who designs his kernel modules for C++ is

either

(a) looking for problems

(b) a C++ bigot that can't see what he is writing is really just C anyway

(c) was given an assignment in CS class to do so.

Feel free to make up (d).

    Linus
Jump in the discussion.

No email address required.

the choice of C is the only sane choice

I totally agree. But this comparison was never between C and C++ :marseysmug2:.

I wrote my bootloader in assembly so I wouldn't know anyway. :marseyembrace:

Jump in the discussion.

No email address required.

!fosstards rare sighting of a silverback turbosperg. Much like the giant sea squid, few have ever been observed outside, but they play a crucial role in the open source ecosystem

Jump in the discussion.

No email address required.

More comments

:#marseykneel:

Jump in the discussion.

No email address required.

If you don't code everything in Assembly, it never even began for you

Jump in the discussion.

No email address required.

It sure is exciting when your program crashes because 40 template instances deep you accidentally return a reference instead of a value.

Jump in the discussion.

No email address required.

That's just shitty code though

Jump in the discussion.

No email address required.

Skill issue.

:yawn:

Jump in the discussion.

No email address required.

>rust

Sorry but I don't wear programmer socks

>go

Sorry but I don't work for Google

Jump in the discussion.

No email address required.

Just do what everyone does and learn python itll look better on a resume anyway

Jump in the discussion.

No email address required.

don't use c++ then use one of the commercially most boring languages like java or c#

Jump in the discussion.

No email address required.

No! You VILL learn how to protect ze memory using custom cryptographic primitives in assembly!

Jump in the discussion.

No email address required.

No one really uses C++ anymor

Retarf

Jump in the discussion.

No email address required.

Link copied to clipboard
Action successful!
Error, please refresh the page and try again.