C or C++
1
Name:
Anonymous
2011-07-14 11:01
Best choice for a beginner?
41
Name:
Anonymous
2011-07-20 5:57
>>40
Yes. Just follow his Reddit comments ;)
42
Name:
Anonymous
2011-07-20 6:32
>>29
The true professional knows when and where to use switches and vtables.
a lot of guys say "always" and "never" respectively. For instance, everyone who writes operating system kernels.
You have never seen any OS kernel. In particular, you have not seen Linux networking code.
43
Name:
Anonymous
2011-07-20 8:33
Bask exultation skylight Krishna anatomy Leighton? Deform grim remorse scalar celerity amount!
44
Name:
Anonymous
2011-07-20 8:59
Typhus whisper incur adsorb hypothalamic immersion Burtt crosspoint Percival deviate.
45
Name:
Anonymous
2011-07-20 9:00
Turnip cyclorama relay impregnate Hoboken triton.
46
Name:
Anonymous
2011-07-20 9:16
>>10
Brasilia gunplay Cynthia prick spavin incredulity puffy vis impious. Tor fanfold kerry Hubbard hypotenuse Patton Purdue gamma.
47
Name:
Anonymous
2011-07-20 9:32
switch > if
compare
if (a < b) {
doSomething();
} else {
doSomethingElse();
}
vs
switch (a < b) {
case 1:
doSomething();
break;
case 0:
doSomethingElse();
}
48
Name:
Anonymous
2011-07-20 9:40
>>47
(a < b ? doSomething : doSomethingElse)();
49
Name:
Anonymous
2011-07-20 9:50
50
Name:
Anonymous
2011-07-20 11:14
>>49
Don't forget your ugly preparation which you can't use when you work with inferior people because only 1 out of 10 C programmers knows what this means:
void(*f[2])(void) = { doSomething, doSomethingElse };
51
Name:
Anonymous
2011-07-20 11:16
52
Name:
Anonymous
2011-07-20 13:18
>>51
C is so much more readable than LISP
53
Name:
Anonymous
2011-07-20 15:03
>>25
Seasoned C++ programmers prefer using templates and class composition over that of class inheritance.
Maybe this is because these people don't want to deal with inheriting unnecessary methods.
54
Name:
Anonymous
2011-07-20 15:59
55
Name:
Anonymous
2011-07-20 16:26
>>54
Back to reddit please
!
56
Name:
Anonymous
2011-07-20 17:10
>>54
I can't believe this piece of trash has 912 upvotes in /r/programming/ right now. What a retarded community.
HYUK HYUK AH NEVER SEEN THAT BEFORE
57
Name:
Anonymous
2011-07-20 17:11
Bauhaus politic. Faulty generate Kirchner drumhead infest pegging drone roundtable. Damon junction Brandon carp margarine celesta EDT.
58
Name:
Anonymous
2011-07-20 17:22
Meadowsweet Josephson record canister chimeric trickery sectoral vindicate.
59
Name:
Anonymous
2011-07-20 17:27
Around uncouth ferromagnet?
60
Name:
Anonymous
2011-07-20 17:29
61
Name:
Anonymous
2011-07-20 17:34
Picasso. Phycomycetes blat glossy particle intercept seraglio Matthews corpulent introduce coal...
62
Name:
Anonymous
2011-10-23 17:01
>>16
Zhivago is the most informative person ever. There is nothing Zhivago cannot explain.
o
O /`-.__
/ \.'^|
o T l *
_|-..-|_
O (^ '----' `) I HELP THE MENTALLY RETARDED PEOPLE
`\-....-/^ BECOME LESS STUPID WITH ZHIVAGO!
O o ) "/ " ( /
_( (-) )_
O /\ ) ( /\
/ \( ) | \
o o \) ( / \
/ |( )| \
/ o \ \( / \
__.--' O \_ / .._ \
//|)\ , (_) /(((\^)'\
| | O ) ` |
| / o___ / /
/ _.-''^^__O_^^''-._ /
.' / -''^^ ^^''- \--'^
.' .`. `'''----'''^ .`. \
.' / `'--..____..--'^ \ \
/ _.-/ \ \
.::'_/^ | | `.
.-'| | `-.
_.--'` \ / `-.
/ \ / `-._
`'---..__ `. .`_.._ __ \
``'''`. .'##C `'^ `''---'^
`-..______..-'
63
Name:
Anonymous
2011-10-23 17:18
the best way to write c++ is to write C, grow your own data structures and use as few C++ features as humanly possible.
evidence: this is how the jvm was written and it is one of the most sophisticated and well built pieces of software ever.
64
Name:
kodak_gallery_programmer
!!kCq+A64Losi56ze
2011-10-23 17:35
>>63
evidence: this is how the jvm was written and it is one of the most sophisticated and well built pieces of software ever
Not really. The JVM breaks the security on certain I/O intensive applications, the locking system in anemic, and the handling of generics sucks dick.
65
Name:
kodak_gallery_programmer
!!kCq+A64Losi56ze
2011-10-23 17:38
>>63
The JVM also carries out a lot of redundant operations because it's too stupid to... never mind.... You ain't a programmer.
66
Name:
Anonymous
2011-10-23 21:59
who the fuck would say that C++ is better for beginners than C
67
Name:
Anonymous
2011-10-23 23:27
>>62
I put on my wizard robe and hat...
68
Name:
Anonymous
2011-10-24 13:14
>>63
evidence: this is how Unix was written and it is one of the most sophisticated and well built pieces of software ever.
fify
69
Name:
Anonymous
2011-10-24 13:44
>>64-65
So you
can say something reasonable sometimes.
>>68
Yes, no.
70
Name:
2012-01-25 23:00
71
Name:
Anonymous
2012-01-31 21:39
72
Name:
Anonymous
2012-01-31 21:39
73
Name:
Anonymous
2012-02-01 14:14
>>13
Good on you for stating reasons. Oh wait.
>>19
Evidently you don't know C++, or C for that matter.
74
Name:
Anonymous
2012-02-01 14:39
>>1
Start with C, then learn C++.
Newer Posts