"Modern programmers are fucking dipshits. C++ is for dipshits."
Dennis Ritchie
*leaks memory*
>>59449722
*dipshit programmer*
Modern programmers don't use C++. It's all about Java, C# and meme language (Rust, Go etc.).
>>59449990
this
>>59449990
What does that make people who program is C++? Old-fashioned programmers?
>>59449990
No. Programmers use asm, C, C++ and similar.
Coders use Java, C#, Rust, Go, Ruby, javascript and other meme languages.
>>59450121
>mfw my college removed all the C languages and left left java,C# and moblie app bullshit
it's over guys
>>59450121
>And real programmers use Hexadecimal. Asm and other is for kiddles.
Yeah, better reinventing the wheel, take years to program something you could do in a few days, for litteraly 1% perf gain (which is useless in "most" cases), and worse generally because there's much more room to errors.
>>59450404
No. Just go to a better college. In my "college" it was a little bit C and a lot of OCaml.
>>59450404
mfw I went to school for physics and learned networking, OS, algorithms, discrete math and various other things after tens of thousands of hours of independent study approached like a masterful disciplined and focused study after reading Book of the Five Rings by the greatest Japanese swordsmen ever to live
>but meh university
fucking plebs
>tfw recruiters and hiring managers interviewing me absolutely fucking love this shit
>>59450601
Performance isn't the main issue. It's maintainability. Here Linus bashes C++, but the idea is applicable to all the high level stuff.
>>59449708
everyone is going to use JS HTML and CSS for everything
>>59450725
The more I read him the more I like him. Linus is a very cool guy. No sarcasm. Fuck C++ "coderz".
>>59449785
everybody's a hardcore C kid until they start writing code other people use
>>59450725
You're right about maintainability being an issue as well. However, this idea is applicable even to low level stuff.
C++ is getting nowhere, gathering functionalities from all over the place and hoping that stays in place.
C is simple, its designs are decent, yet it's very easy to make unmaintainable code with it as well. High level languages tend to simplify, abstract more concepts to have a more concise and readable code.
>>59449990
>It's all about Java, C#
fuck off pajeet
>>59450404
>moblie app bullshit
fuck that shit. I'd rather put a bullet in my head than write software for a non-free platform. What the FUCK is that shit doing in a university?
>>59450725
wtf I love C now
>>59451783
Hey, you wouldn't choose C for everything though. A programming language remains a tool, and there are hundreds of different tools which suits some expectations in terms of development cost/speed/maintainability/etc.
The choice of C for a kernel is right IMO.
How is C like programming in compared to C++? Is obj C still considered C?
>>59450601
t. "I need the whole jquery included to print of Hello World" code artisan
>>59452111
are you talking about objective c? i thought that was dropped for switch
>>59452168
Oh okay, thanks
>>59450822
t. C++ kiddie who just finished his FizzBuzz homework assignment
>>59450725
http://warp.povusers.org/OpenLetters/ResponseToTorvalds.html
>>59452925
So much butt hurt.
>>59452925
This is why Trump got elected.
>>59452925
>butt hurr
>>59452925
Wow, Pajeets can now express their emotions online.
>>59452925
http://warp.povusers.org/cpluspluswishlist.html
That's the typical user that Linus want to offend.
>>59449708
C++ used as C with classes is perfectly acceptable and utterly superior to C.
>>59452925
Comedy gold
>>59449708
Am I the only one who doesn't really care what language a program is written in? As long as it has some basic abstraction and isn't brainfuck it doesn't really matter unless you're autistic. Wait, now I know why everyone's so upset.
>>59452925
best thing is that he continuously bashes C but his only argument is that string::length() is more efficient than strlen()
Oh and taking code that does complex h264 stuff as an example of "bad code" while providing no C++ equivalent code
>>59453341
Classes. Aren't they just structs that have functions bound by the struct itself? Polymorphism in C, also possible.
>>59453444
It is important to care in what language a program "should" be written in, or more specifically, in what kind of language. You wouldn't use the same language to implement some driver/operating system and a website.
>>59453526
I agree with Linus on C++, but I can't agree.
Classes can provide closures, what you can hardly done in C.
>>59453341
>>59453526
Well, you don't have encapsulation or operator overloading. The latter isn't absolutely necessary, and for the former... well... if you like the python philosophy (which works mostly with convension and assume that a developer is responsible for not doing dangerous thing), then it should be ok as well.
What matters is the libraries needed in what you want to do I'd say.
>>59452925
>>59449708
> never wrote a single line of C++
> saw Linus bash C++ so it must be shit
> maybe opened a book on C++, but found it too overwhelming
> bashes C++ on /g/ because of own insecurities
>>59453653
I'll just have you know that it takes far less lines of code to write fizzbuzz in C than it does in C++.
>>59453790
Err how is that?
>>59453831
Okay I lied. I can't into C++.
>>59452925
I like how he puts that mplayer code up there like some kind of argument against C, as if it would be any better in C++?
>>59450822
>confounding anti-C++ sentiment with pro-C sentiment
you don't get it "kid", if need something more high level than C, there are way better choices for just about anything than c++
If C++ is so much better, then why was C invented quicker?
>>59453790
you are a fucking retard because C is a subset of C++
>>59450725
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 objects models around it, and you cannot fix it without rewritting your app
I actually had a job once where they hired me for some C++ shit. It was about porting a program from windows to linux. Some stuff were made already.
I never understood all those "memes" about C++ till this job. The code was uncommented, objects everywhere, abstractions everywhere, inheritance everywhere... it was a fucking mess, with bugs everywhere because of the poor object oriented design.
>>59454082
>C is a subset of C++
That is some pretty weak bait. Also, why are you posting stallman? He said publicly that he does not like C++.
>>59454100
C is a common subset of C++.
>>59454129int *ptr = malloc(sizeof *ptr);
Valid C; invalid C++.
C is not a subset of C++.
And this is just trivial shit. There are actual features added to C which are absent from C++.
>>59454129
Not true and doesn't make any sense. If you're going to talk sets, then it's far more realistic to call C++ a super-set of C rather than the converse.
>>59453992
if C is so much better, then why was COBOL invented quicker?
>>59454146
That something doesn't compile doesn't mean it's not a subset. They got rid of this one retardation from C, you can still use a cast.
>>59454259
>I don't know what "subset" means anyway
gtfo
>>59454259
>That something doesn't compile doesn't mean it's not a subset
Yes it does, you fucking idiot. Do you know what a subset is?
How about this?int arr[] = {
[10] = 20,
};int a = atoi(argv[1]);
int arr[a];
void my_fn(void *restrict a, void *restrict b);
>>59454294
I think I accidentally dragged some text around right before I posted.
I meant to postint arr[] = {
[10] = 20,
};int a = atoi(argv[1]);
int arr[a];void my_fn(void *restrict a, void *restrict b);
>>59450121
It's sad how universities will try and teach Java
> now were gonna introduce you to algorithms even though you don't even know what a pointer is and probably think memory is a magic black box
>>59450664
> OCaml
literally what in the fuck
Who is Lisp for then?
>>59454353
But you have to start somewhere. If you're just sitting down in a classroom for the first time to learn about programming, you can't immediately learn all aspects at once... memory hierarchy, stack, heap, context switching, etc... when knowledge of those things is not explicitly required to understand the behavior of an algorithm.
Algorithms and pure "computer science" predate our modern CPU architectures. See for example Ancient Babylonian Algorithms.
Java is a good middle ground because it allows you to get started with basic syntax without totally screwing yourself over like C allows you too. It's fairly straightforward to find the cause of an exception, for example. So it allows you to experiment with algorithms and data structures before you get to the more advanced aspects.
>>59449708
C is the best general purpose programming language. Bumpity.
>>59453057
>>59453077
>>59453151
>>59453238
>>59453316
>>59453474
>>59453638
>>59453911
>C faggots in charge of making arguments
>C faggots in charge of not just replying with reaction images and "LOL XD" when confronted with cold hard truth
>C faggots really think that programming advancements stopped in the 70s.
>>59456429
>Being this ass-blasted
>>59452925
*autistic screeching
>>59456429
>Programming advancements stropped in the 70's/
Hardware has hardly changed since the 70's either. It's fundamentally all the same.
>>59454389
Hermits
>>59456429
>C faggots really think that programming advancements stopped in the 70s.
If you're trying to make a case for C++, you're doing it horribly wrong.
C++ is built upon C, even if it is no longer "C with objects", it's firmly rooted in that principle which originated it. Everything about C++ is a "modernization" of old technology, it's all the flaws of C, all of it's staleness, with a bunch of crap piled up on top. If you want a truly advanced language, go see Lisp, really. And as it turns out, Lisp is older than C.
Either way, nice cherry picking, it really helps your argument if you just reply to the low hanging fruit.
>>59454306
>>59454294
Dipshit.
https://en.wikipedia.org/wiki/Compatibility_of_C_and_C%2B%2B
>>59456776
How are we assblasted? C++ is the industry standard for any software developer. C is basically just for old hardware or small integrated solutions.
>>59456792
Hardware has hardly changed since the invention of the semiconductor by your logic. Use Fortran you double nigger.
>>59456992
>If you're trying to make a case for C++, you're doing it horribly wrong.
Better argument than an anime reaction image.
>C++ is built upon C, even if it is no longer "C with objects"
Hardly the case. Their paths have diverted long ago. C++ and C share many similar features but it isn't just C + shit, it's a variation of C that is objectively better.
>muh lisp
(((okay)))((((buddy))))
>>59457021
>Sepplesfag
>Expects anyone to take his opinion seriously
>>59457021
>Hardly the case
Again, C++ may not be "C with stuff" but it still retains a lot of the design decisions of C that are stale as fuck (which was my point). The most obvious one is the fact that C++ uses an object model that is directly based on the C way of doing things. Go take a look at Smalltalk and see how OOP was conceived, and you'll realize that the thing that C++ (and Java and other such languages) implements is a poor man's version of the real OOP. The "innovations" in C++ are not only not new, but they are also held back by it's C heritage, plus layers of the old "features but with backwards compatibility".
>(((okay)))((((buddy))))
Nice non-argument, here's what it looks like:
>The language is unfamiliar to me, so I'll just "insult" it using very superficial criteria.
>>59452925
>trying to rationalize a flamebait
what a fucking retard lmfao
funnily enough, he sounds just like the faggots linus complained about
>>59457077
>it's a lot like C because the syntax looks a lot alike
>therefore it's just like C in the sense that it uses outdated programming concepts
No.
>nice argument
>just claims lisp is better for no reason
How about you take your own advice, you triple nigger?
>>59457059
>sepplesfag
What?
>>59449722
Or you can just use smart pointers...?
>>59449722
How exactly is C++ any better about that?
>>59457366
the idea is if you group things into objects it's easier to manage using deconstruction
These threads are so fucking stupid.
>>59450080
>dipshits
>>59450404
> Life sucks cuz cant learn anything outside of school qq
C# is ok but fuck meme tier functional languages such as javascript, ruby, F#, etc
>>59449785
>*dipshit programmer*
don't you mean,
char *pajeet;
>>59450121
>Skript kiddies use Java, C#, Rust, Go, Ruby, javascript and other meme languages
fixed.
>>59450404
>No multiple inheritance
Why live