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

Sup /prog/.

Name: Anonymous 2008-08-10 19:18

So recently I've begun my age-old quest of actually learning C++.

I've attempted this several times, and like most who give up, stopped after learning the very basics of the language, as I didn't really know where to go from there.

I'm not really looking to be developing specifically for Windows, but I realize that it will be where I do the majority of my work, so does anyone have anything against C++/CLI? If so, why?

Furthermore, what are some ideal "projects" to try to design?
Thanks /prog/,
anon

Name: Anonymous 2008-08-12 17:12

Learn ABC instead. You'll be glad you did.

Name: Anonymous 2008-08-12 17:18

Learn Befunge instead. You'll be glad you did.

Name: Anonymous 2008-08-12 18:44

>>37
You still don't understand what templates are for or how they work.

Name: Anonymous 2008-08-12 18:51

>>43
Nobody does. They just pretend they do and write books about it to make money off gullible idiots.

Name: Anonymous 2008-08-12 18:57

>>36
That's hardly true. All-in-one tools are generic by nature. In other words, they are mediocre at everything and excel at nothing as opposed to specialized tools which excel at a few things and are shit at everything else. Sure, an all-in-one tool is handy to keep around but it would be foolish to prefer it for a specialized task if you have a choice.

Would you use the knife in a Swiss Army Knife to cut yourself a slice of bread if there was a bread knife right next to you? Would you use its saw to cut a tree trunk if you had a chainsaw lying around? Its scissors if you had proper scissors at hand? Hell, even its bottle opener is so-so. You get the idea.

>>38
[quote]Anyway, Sepples is a flathead screwdriver with a drill bit for a handle (to make it multi-purpose).[/quote]

Maybe so, but sometimes that's just what you need (or at least the best available).

Don't get me wrong, I'd be the first to agree that C++ has its fair share of flaws and then some. But given how widespread its use is and how long it's been around... bashing it like that seems almost as foolish as making fun of the wheel.

Name: Anonymous 2008-08-12 19:42

Wheels are for shitheads. I always program on a stone block so I can avoid these retarded chairs with them flying wheels under. They're obviously just there to make programmers fall when they're being productive, so that THE MAN can exploit us.

Name: Anonymous 2008-08-12 21:39

>>28
Let me dumb it down for you:

- non-dispatched function calls: faster and smaller in C++ than C's function-with-target-as-first-parameter
- dispatched function calls: faster and smaller in C++ than some bullshit manual C dispatch

>>37
Each template instantiation generates assembly dedicated for that class == bloat.
What the fuck bullshit is this?  If you need per-class code, you're either compiling different versions (of which the templatized one will be smaller, faster, easier and better error reporting than macro errors (even though template errors are big, they're far more understandable than macro problems)).  Your only other option is to do run-time branching, which is slow which "== bloat" as well.

You're just complaining for the sake of complaining and have no understanding of tradeoffs or design decisions, you fucking burger-flipping imbecile.

Name: Anonymous 2008-08-12 22:42

>>47
Let me dumb it down for you:
good job that is pretty dumb

Name: Anonymous 2008-08-12 23:20

>>47
non-dispatched function calls: faster and smaller in C++ than C's function-with-target-as-first-parameter
Sorry to break it to you, but your Sepples code boils down to the same approach as C in this case. I compiled and checked the assembly code using cfront, so I know what I'm talking about.

Name: Anonymous 2008-08-12 23:32

>>45
a flathead screwdriver with a drill bit for a handle
sometimes that's just what you need
No, that has never happened. Ever. No person has ever needed to carve their hand to pieces trying to loosen a screw, or to have a drill bit that can't be put into any drill.

P.S. I'm kind of proud to have created a metaphor that is accurate no matter how far you take it.

Name: Anonymous 2008-08-12 23:48

you fucking burger-flipping imbecile
I like this. It's the best insult I've seen on /prog/for a while.

Name: Anonymous 2008-08-13 1:27

>>49
I compiled and checked the assembly code using cfront
lol, 6/10

Name: Anonymous 2010-12-26 21:18

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