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

Bad things about C++

Name: Anonymous 2007-02-09 4:03

Since the python thread was a smashing success, it's only logical to have a C++ equivalent. So list the bad things about C++. Constructive thread, please. I will get the ball rolling:

 * Segment faults.
 * Broken standard library.
 * One word, the forced indentation of code. Thread over.
 * Broken templates.

Name: Anonymous 2007-08-14 11:13 ID:LEnykHYZ

>>120
OKAY YOU FUQIN ANGERED AN EXPERT PROGRAMMER
GODFUCKIGNDAMN
FIRST OF ALL, YOU DONT FUQIN KNOW WHAT A MAN PAGE IS
SECONDLY, THIS IS /prog/ DO NOT DEMAND USEFUL ANSWERS THE WAY YOU WANT THEM TO BE
THIRDLY PROGRAMMING IS ALL ABOUT PHILOSOPHY AND ``ABSTRACT BULLSHITE'' THAT YOU WILL NEVER COMPREHEND
AND FUQIN LASTLY, FUCK OFF WITH YOUR BULLSHYT
EVERYTHING HAS ALREADY BEEN ANSWERED IN
>>19,24

Name: Anonymous 2007-08-14 11:28 ID:xzyNtOV6

WHY WOULD A GC KNOW WHEN THIS TIME IS BETTER THAN YOU?
A lot of GCs never run unless you attempt to allocate more memory than is left available. That and you can disable the GC.

GCs will become even more of a win as concurrency takes hold.

Name: Anonymous 2007-08-14 12:30 ID:IyjU1Dua

>>122
So in other words, you have no control over when the gc executes?

If you are working with a project with rather large ammounts of data that needs to be moved, executed or computed and you have a limmited ammount of memory, a gc could acually ruin your whole project, since it would have no idea of what data to 'free up', and might thus free up a hunk of memory that was in use, or had some other purpos.

You can of course write your program with the GC's in mind, but that would generaly slow the program down.

Name: Anonymous 2007-08-14 12:53 ID:Oc03o3yW

1111100

Name: Anonymous 2007-08-14 12:54 ID:Oc03o3yW

1111101

Name: Anonymous 2007-08-14 12:56 ID:Oc03o3yW

1111110

Name: Anonymous 2007-08-14 12:56 ID:Oc03o3yW

1111111

Name: Anonymous 2007-08-14 12:57 ID:Oc03o3yW

10000000-get!!!!

Name: Anonymous 2007-08-14 13:06 ID:Heaven

>>123
since it would have no idea of what data to 'free up', and might thus free up a hunk of memory that was in use, or had some other purpos.

http://en.wikipedia.org/wiki/Garbage_collection_(computer_science)

Name: Anonymous 2007-08-14 13:17 ID:3MkJ9F7R

>>120
It can be faster:
http://citeseer.ist.psu.edu/appel87garbage.html
http://lnk.nu/www-128.ibm.com/fh1.html

But in the end of course it depends on what you're doing..

Name: Anonymous 2007-08-14 16:58 ID:x1gweIU+

>>120
(((ok bitch)
  (you asked for it)
  (here goes))
 (im taking out the fucking
     (bold paranthesis on you))
 (you fuqing angered an expert programmer)
 (ive been here for (expt 3 88888000) years longer than you)
 (ive read sicp twice)
 (i know every programming language in the world
    including apl)
 (if u wanna batl (lets do it))
 (ill crush you like a bean))

Name: Anonymous 2007-08-14 22:50 ID:xzyNtOV6

>>123
So in other words, you have no control over when the gc executes?
If you reread what I wrote in >122 again (carefully), you'll see that I was saying you do.

Well, some languages don't, but then some languages don't have closures either.

a gc could acually ruin your whole project, since it would have no idea of what data to 'free up'
Ouch. Please read >>129. You have misunderstood what garbage collection is.

tl;dr: in most languages that's impossible, but if the languages has pointers and you're doing the pointer XOR trick it can.

You can of course write your program with the GC's in mind, but that would generaly slow the program down.
Pardon? The same rule that applies for manual memory management applies to  most common garbage collectors: don't allocate in speed-critical sections. The only difference is you don't need to worry about cleaning up memory after yourself, since the GC does it for you.

Name: Anonymous 2009-01-14 12:20

LISP

Name: Anonymous 2010-09-12 21:10

WELCOME TO THE PAST BITCHES, FUCKING BUMP

Name: sage 2010-09-12 21:11

WELCOME TO THE FUTURE BITCHES, FUCKING SAGE

Name: Anonymous 2010-09-13 8:41

WEELCOME TO THE PRESENT BITCHES, FUCKING POST

Name: Anonymous 2010-09-13 9:20

The FQA was made so we'd never have to argue against C++ again.

Name: Anonymous 2010-09-13 10:02

>>138
This thread may well have been created before the FQA.
Copyright © 2007-2009 Yossi Kreinin

Name: Anonymous 2010-09-13 11:47

>>139
Yes, the bump is the current context.

Name: Anonymous 2012-03-23 23:38

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boyAll work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boyAll work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boyAll work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boyAll work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boyAll work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boyAll work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

All work and no play makes Jack a dull boy

Name: Anonymous 2012-03-25 21:43

>>1
Fucking nice post! Badabababa I'm lovin' it!

Name: Anonymous 2012-03-26 7:14

Harro everynyan. How are you? Fine, sank you.

Name: Anonymous 2012-03-26 11:36

Check 'em.

Name: Sgt.Kabu쀛炙kiman瓽ᴀ 2012-05-28 22:33

Bringing /prog/ back to its people
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy

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