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 12:53

>>102
I tried it. C++ is shit.

Name: Anonymous 2012-01-10 12:59

>>115
I tried GC. GC is shit.

Name: Anonymous 2012-01-10 13:13

>>115
>>116

I like C++ and GC. umad faggots?

Name: Anonymous 2012-01-10 13:18

>>114
Oh, silly me!

Name: Anonymous 2012-01-10 13:20

C++ is shit. Thread reported.

Name: Anonymous 2012-01-10 14:05

>>119
report my anus

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?

Name: Anonymous 2012-01-10 16:31

Kodak is a fucking retard, that he doesn't know basic mathematics illustrates that. The only highlight of his life is that some shitty company settled for him when they were looking for disposable code monkeys and when someone has a better job than him he just says that he doesn't believe them.

Name: Anonymous 2012-01-10 16:31

>>128
Hey Kodak, remind me what a subset is again?
>>129
One that doesn't include the empty set?
...

>>153
There are several no trivial programming situations where the empty set is included in the subset.

That's it, I'm done. You are so fucking stupid.

Name: Anonymous 2012-01-10 16:34

>>160
Lambda's in C++ are essentially anonymous functors. What's missing, exactly?

Name: Anonymous 2012-01-10 16:34

>>162
I'm not the idiot that doesn't work as a computer programmer. Now go run off scrub another toilet. Again, you have no possible future as a computer programmer.

Name: Anonymous 2012-01-10 16:35

>>162
Remember, no logical thought and no clear syntax. I think he actually might be brain damaged since his English is riddled with mistakes as well and he seems to forget what he typed just a minute ago.

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

>>161
Vs. being some unemployed idiot who googles shit?

Name: Anonymous 2012-01-10 16:35

>>164
I'm not the idiot that doesn't work as a computer programmer.
Yeah, you're the idiot that does.

Name: Anonymous 2012-01-10 16:36

>>163
A brain?

Name: Anonymous 2012-01-10 16:36

>>167
So are you going to take the $10/hr tech support job?

Name: Anonymous 2012-01-10 16:37

Hey Kodak, this is your daily reminder that every subset of a countable set is countable.

Just keep denying the mathematical truth, I'm sure it'll change some day! (Oh wait...)

Name: Anonymous 2012-01-10 16:38

>>168
Do you know how functors work in C++?

Name: Anonymous 2012-01-10 16:41

Name: Anonymous 2012-01-10 16:42

>>172
What is your fucking point you god damned retard? Every subset of a countable set is also countable still holds true.

Name: Anonymous 2012-01-10 16:43

>>156
Immutable-by-default and mutability annotations would be a start.
First class support for statically checked contracts (with dynamic checks when needed) on functions and data structures.
A better type system, and an effect/region system.
implementing lambda's wasn't difficult at all. It actually works out quite nicely
You cannot make polymorphic lambdas, so no.

Name: Anonymous 2012-01-10 16:43

>>172
What has that got to do with what he said? He's right, every subset of a countable set is countable.

Name: Anonymous 2012-01-10 16:46

>>173
That you have no clue as to what you're talking about. Now, for the 10th time, what do you do for a living?

Name: Anonymous 2012-01-10 16:46

>>175
I never said he wasn't right. I'm just saying he's a tad bit confused on what he just "googled".

Name: Anonymous 2012-01-10 16:48

>>172
en.m.wikipedia.org
Why.

Name: Anonymous 2012-01-10 16:48

wtf this thread just went to shit
BTW: if you're not a complete tool or have atleast a hint of logical thinking you can do stuff even without knowing 'big bad math buzzwords'

Name: Anonymous 2012-01-10 16:48

>>176
Are you completely incapable of following a simple mathematical evidence? The statement that every subset of a countable set is also countable is a proven statement, most proofs are just a single sentence long actually. Why do you continue to deny it?

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

>>178
That wasn't me you moron.

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

>>180
I never said it wasn't. Again, for the second time, you don't seem to understand what you just "googled".

Name: Anonymous 2012-01-10 16:50

>>179
I mean this thread was shit to begin with, then went to shit a couple of times,
the shittiness of this thread increases exponentially everytime someone posts

Name: Anonymous 2012-01-10 16:50

>>170
THIS IS WHAT THE JEWS WANT YOU TO BELIEVE IT'S ACTUALLY NOT TRUE KODAK HOLDS THE REAL TRUTH
#EVERYSUBSETOFACOUNTABLESETISALSOCOUNTABLEDENIERSDOTORG
KEEP FIGHTING THE CONSPIRACY

Name: Anonymous 2012-01-10 16:50

>>166
Yet, Kodak-kun, you are here among us, almost 24 hours a day, everyday. Don't you have some work to do at kodak?

Name: Anonymous 2012-01-10 16:51

>>185
I'm done for the day -).

Name: Anonymous 2012-01-10 16:54

>>182
I never said it wasn't
Oh really? Let us check out some posts in this thread http://dis.4chan.org/read/prog/1326089963

Check out posts 75 and 76 (where you also say that the interval [0,1] is a subset of the natural numbers) in 129 you say that the statement breaks down under certain conditions.

Name: Anonymous 2012-01-10 16:57

>>187
Go scrub another toilet you mental midget I'm done with you.

Name: Anonymous 2012-01-10 16:57

>>187
You're problem is that keep asserting absolute truth.

Name: Anonymous 2012-01-10 16:58

>>189
But it is absolutely true, have you no idea of what a proof is?

Name: Anonymous 2012-01-10 16:59

>>188
I'm not the idiot that doesn't understand what they're reading. Come back again when you understand what you just read.

Name: Anonymous 2012-01-10 16:59

Let us call a set "abnormal" if it is a member of itself, and "normal" otherwise. If N is a set of all normal sets, is N normal or abnormal?

Name: Anonymous 2012-01-10 16:59

lolol kodak cant do maths

Name: Anonymous 2012-01-10 17:00

>>190
Absolute truth, in math, would imply necessary and sufficient. You haven't provided both. Now go scrub another toilet.

Name: Anonymous 2012-01-10 17:00

>>187
Wow, not that he had much integrity before, it's all gone now.

Name: Anonymous 2012-01-10 17:00

>>193
Go 'lolol' some more for you fellow grade school friends you fucking illiterate dweeb.

Name: Anonymous 2012-01-10 17:01

>>196
This is all he has left, calling people names, what a sad person.

Name: Anonymous 2012-01-10 17:03

>>195
And what happens if I have a ring in a field? Ya know, maybe I wold  want this kind of scheme to verify the strength of a password.

Name: Anonymous 2012-01-10 17:04

>>198
Look at him, there he goes again trying to sound smart by posting something completely unrelated and full of errors, look at him and laugh /prog/.

Name: Anonymous 2012-01-10 17:04

C++heck 'em.

Name: Anonymous 2012-01-10 17:05

>>197
But that's all that he has ever had.

Name: Anonymous 2012-01-10 17:05

>>199
No, it's an example from you uneducated faggot.

Name: Anonymous 2012-01-10 17:05

>>199
>>198
So, you hate yourself and are samefagging.

Name: Anonymous 2012-01-10 17:06

>>202
Look, now he can't even form simple sentences anymore, he's breaking down completely now.

Name: kodak_gallery_programmer? 2012-01-10 17:07

>>199
And what happens if I have something like

{1,2,3,4,5,6,7,9,10}

{5} --> {1}
{7} --> {1}
{9} --> {1}

Name: Anonymous 2012-01-10 17:08

>>205
And now what happens if I extend this to some large number N? How would I determine how many {1}'s I have in this case?

Name: Anonymous 2012-01-10 17:09

>>205
that would be a surjective mapping. i don't know what your point is

Name: Anonymous 2012-01-10 17:09

>>204
Go 'lol' some more for your grade school friends you fucking retard.

Name: Alpha Male !gD3Op2fhHs 2012-01-10 17:10

Hey Kodak this might not be a good moment to tell you, but I kind of banged that chick you think is cute, you know that chick from work? Good luck though brah, I'm sure if you scrub some more toilets that you'll be able to afford that leg extension operation you wanted so you'll no longer be as much of a pathetic manlet, you'll still be beta though so no chicks will bang you except for perhaps 3/10 chicks that are drunk.

Name: kodak_gallery_programmer !!kCq+A64Losi56ze 2012-01-10 17:10

>>207
The point is that I can't determine how many {1}'s I have in this set. In other words, it would be uncountable.

Name: Anonymous 2012-01-10 17:12

>>205
Nothing, {5}, {7} and {9} are all countable just like {1,2,3,4,5,6,7,9,10}, so the proposition is still true. Keep trying and failing though.

Name: Anonymous 2012-01-10 17:12

>>209
Yeah, that's about the extend of your IQ. BTW, you're still a huge fucking faggot.

Name: Anonymous 2012-01-10 17:13

>>210
Well then whatever set you're talking about isn't a subset of {1,2,3,4,5,6,7,9,10} so you have proven nothing, if it were then it would be countable.

Name: kodak_gallery_programmer !!kCq+A64Losi56ze 2012-01-10 17:13

>>211
I was asking for the number of duplicate {1}'s.

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