Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

C++ hatred

Name: Anonymous 2012-01-08 12:26

Why is C++ hated so much here in /prog/? Many good software are written in C++.

I'm aware that there are some problems in the language and it is considered "hard" to master it, but why do so many people hate it? What harm has it done?

Software can be written much quicker when using some scripting languages like Python. Software can be writte slightly quicker when using some managed language like Java. But when using those languages, the resulting program will require more resources to run. So there is place for C++.

For example, I bet the web browser of 99% people browsing /prog/ is written in C++. It's not perfect language, but it is the best language for complex program with relatively small CPU and RAM requirements.

Name: Anonymous 2012-01-10 14:40

>>112
C++ is not perfect. But there is no real alternatives to it,

C.

Name: Anonymous 2012-01-10 14:49

Why not try D?

Name: Anonymous 2012-01-10 15:09

>>122
maximum trollpost

Name: Anonymous 2012-01-10 15:17

>>115->>120

THREAD DESTROYED

Name: kodak_gallery_programmer !!kCq+A64Losi56ze 2012-01-10 15:29

>>122
You might as well ask "Why not try on a pair of pantyhose?".

Name: Anonymous 2012-01-10 15:30

>>125
Go learn some basic mathematics, mental midget.

Name: Anonymous 2012-01-10 15:32

Name: Anonymous 2012-01-10 15:34

Hey Kodak, remind me what a subset is again? Oh wait, you can't!

Name: kodak_gallery_programmer !!kCq+A64Losi56ze 2012-01-10 15:41

>>128
One that doesn't include the empty set?

Name: Anonymous 2012-01-10 15:45

>>129
A subset may include the empty set, if that's what you're asking.

Name: kodak_gallery_programmer !!kCq+A64Losi56ze 2012-01-10 15:48

>>130
I believe a subset that includes the empty set is a "proper subset". But you tell me. I mean, you're the hourly worker that googles shit.

Name: Anonymous 2012-01-10 15:49

>>131
You're wrong.

Name: Alpha Male !gD3Op2fhHs 2012-01-10 15:53

>>131
Man you hella dumb if you need to Google what a subset is.

Name: Anonymous 2012-01-10 15:55

>>129,131
A subset can include the empty set if the original set does. I think you're confusing it with the power set or something. A subset is not a set of sets unless the original set is.

Name: Anonymous 2012-01-10 15:55

>>133
Go scrub another toilet bitch.

Name: >>134 2012-01-10 15:57

>>131
This post is just completely wrong. {1,2,3} is a proper subset of {1,2,3,4}.

Name: kodak_gallery_programmer !!kCq+A64Losi56ze 2012-01-10 15:58

>>134
Nah, this comes from a programming project at work. I had a case where every elment in A and B were such that A was an element of B. But the rest of the idiots on here wouldn't know about such things because they just work general labor jobs -(.

Name: Anonymous 2012-01-10 15:59

>>136
I said "I believe" you fucking mental midget. Geeze, go google more shit instead of looking for a job.

Name: Alpha Male !gD3Op2fhHs 2012-01-10 16:02

>>135
You jelly that I am aesthetic and intelligent while you're just an ugly manlet that too dumb to understand even basic mathematics?

You mirin brah?

Name: Anonymous 2012-01-10 16:04

>>139
You're still a huge faggot.

Name: Anonymous 2012-01-10 16:04

>>137
I work as an X (for some X), therefore the subset of a set is uncomputable.

Name: Anonymous 2012-01-10 16:07

Where performance is critical, C++ is a pretty good choice. Anyone care to say otherwise? C is good also in this respect, but I prefer C++ because of its extra features (OOP, template metaprogramming, function overloading to name a few). Its downside is its bloat.

Name: Anonymous 2012-01-10 16:10

>>142
Smalltalk did a much better job at OOP than what C++ did.

Name: Anonymous 2012-01-10 16:15

>>143
I haven't used Smalltalk personally. In what way did it do a better job?

One more thing I forgot to mention about C++. The thing that brings it down the most is its header/source model. I heard C++11 was supposed to have modules, but now it's expected for TR2.

Name: Anonymous 2012-01-10 16:16

>>142
Anyone care to say otherwise?
Me. Better languages can give the compiler much more optimization hints than C++.
You don't imagine how much time and resources we spent on making C and C++ go fast.

Name: Anonymous 2012-01-10 16:17

>>137
I had a case where every elment in A and B were such that A was an element of B.
I can't tell what you're trying to say. It sounds like you googled the definition of subset, tried to paraphrase so it didn't look like you were just copying and pasting, and failed miserably.

Also, going back to >>129, what does the empty set even have to do with subsets? {∅} is a subset of {∅,2}, just like {1} is a subset of {1,2}.

>>138
So if you say "I believe", nobody can call you on being wrong? Nice.

go google more shit
This is pretty simple stuff. I wouldn't be challenging other people's knowledge if I didn't even know what a proper subset was.

Name: Anonymous 2012-01-10 16:18

>>144
At everything.

Name: Anonymous 2012-01-10 16:19

>>144
Good luck shoehorning modules and lambdas in a 20 years old language, TR2 committee.

Name: kodak_gallery_programmer !!kCq+A64Losi56ze 2012-01-10 16:19

>>146
It was a case in a programming project you fucking retard. Oh wait, you don't work as a programmer!

Name: Anonymous 2012-01-10 16:20

>>146
Now, for the 9th time you autistic fucker, what do you do for a living?

Name: Anonymous 2012-01-10 16:24

>>149
You're right, I'm a senior Comp Sci major. But apparently being a programmer doesn't teach you shit about set theory, because you have no clue what you're talking about. Since you're so smart, stop it with the ad hominems and answer the next part of my post. I'll post it again, since you conveniently missed it last time.

What does the empty set even have to do with subsets? {∅} is a subset of {∅,2}, just like {1} is a subset of {1,2}.

Name: Anonymous 2012-01-10 16:24

>>146
Try to ignore him, he's just another code monkey with no mathematical ability or talent, as a result he lacks the understanding of things like clear notation or logical thought.


I mean any person who writes

I had a case where every elment in A and B were such that A was an element of B.
clearly has no training in mathematical thought, and would be straight out laughed at by anyone with a basic level of knowledge.

Name: kodak_gallery_programmer 2012-01-10 16:26

>>151
There are several no trivial programming situations where the empty set is included in the subset. Also, you little fucking know it all moron, there is a vast difference between "googling shit" and "the real world".

So now, have many job offers have you gotten?

Name: Anonymous 2012-01-10 16:27

>>152
Those toilets aren't gonna scub themselves!

Name: Anonymous 2012-01-10 16:28

>>153
So now, have many job offers have you gotten?
Several, and non-trivial.

Name: Anonymous 2012-01-10 16:28

>>145
Could you name these better languages? I can think of a few things C/++ could do to help the compiler, but I can't think of a language that actually has them (possibly because I don't know too many :p).

>>148
Well, implementing lambda's wasn't difficult at all. It actually works out quite nicely consider C++ already had functors.

@People talking about sets: A class of sets contains the empty subset. You can't consider a set in its own right to contain it.

A proper subset is a subset that isn't equal to its superset.

Name: Anonymous 2012-01-10 16:28

>>155
I don't believe you.

Name: Anonymous 2012-01-10 16:29

>>155
Well, let me take that back, I believe that you probably got an offer for a $10/hr tech support job.

Name: Anonymous 2012-01-10 16:31

>>155
Does that mean that Starbucks offered you a position of janitor, while McDonalds made an offer for a cashier position, and you find it non-trivial to decide?

Name: kodak_gallery_programmer !!kCq+A64Losi56ze 2012-01-10 16:31

>>156

Well, implementing lambda's wasn't difficult at all. It actually works out quite nicely consider C++ already had functors.


What the hell are you smoking?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List