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

The C Paradox

Name: Anonymous 2011-08-06 14:30

If gets() is so dangerous and should never be used,

Why was it created in first place and kept in the C standard until now?

Name: Anonymous 2011-08-06 14:40

To tempt ignorant or lazy fools with its apparent simplicity and get rid of them.

Name: Anonymous 2011-08-06 14:44

Misdesigned, buggy standard library in a misdesigned, underspecified language.

Name: Anonymous 2011-08-06 14:58

I don't think C gets enough credit. Sure, C doesn't love you. C isn't about love--C is about thrills. C hangs around in the bad part of town. C knows all the gang signs. C has a motorcycle, and wears the leathers everywhere, and never wears a helmet, because that would mess up C's punked-out hair. C likes to give cops the finger and grin and speed away. Mention that you'd like something, and C will pretend to ignore you; the next day, C will bring you one, no questions asked, and toss it to you with a you-know-you-want-me smirk that makes your heart race. Where did C get it? "It fell off a truck," C says, putting away the boltcutters. You start to feel like C doesn't know the meaning of "private" or "protected": what C wants, C takes. This excites you. C knows how to get you anything but safety. C will give you anything but commitment

In the end, you'll leave C, not because you want something better, but because you can't handle the intensity. C says "I'm gonna live fast, die young, and leave a good-looking corpse," but you know that C can never die, not so long as C is still the fastest thing on the road.

Name: Anonymous 2011-08-06 14:59

If it ain't C, it's crap.

Name: Anonymous 2011-08-06 16:50

Its dangerous if you see it written in the middle of ENTERPRISE CODE by some code monkey. If you know what you want, C gets() it without any boilerplate code.

Name: Anonymous 2011-08-06 16:53

>>4
textual meme saved

Name: Anonymous 2011-08-06 17:51

>>4
C, meet Assembly.

Name: Anonymous 2011-08-06 18:13

>>8
Assembly, meet NAND gates.

Name: Anonymous 2011-08-07 1:28

>>9, MEET MY ANUS

Name: Anonymous 2011-08-07 3:24

>>9
There wouldn't be any speed increase, moron.

Name: Anonymous 2011-08-07 3:44

>>11
Moron, moron.

Name: Anonymous 2011-08-07 4:00

gets() is fine for development, just not suitable for production code. In fact, none of the generic input functions are. If you want bug-proof code it's best to roll your own getchar() loop and parser. The generic functions are just for quick hacks.

Name: Anonymous 2011-08-07 8:03

>>13
Can't I just take the one from Anonix?

Name: Anonymous 2011-08-07 8:03

>>14
gtfo

Name: Anonymous 2011-08-08 5:10

>>4

I love you.

Name: Anonymous 2011-08-09 7:57

>>13
Actually you can safely read a bunch of stuff (no unlimited strings of course) with scanf as long as you check the return value correctly and you specify strings length in the format. See libcaca [1].

1: http://caca.zoy.org/browser/libcaca/trunk/caca/figfont.c#L342

Name: Jonathan 2011-08-09 9:17

I would say the biggest flag that C doesn't get enough credit is I have worked with over 30 developers on C++ projects and only met 2 C++ devs. The others were C devs thinking they were doing c++.

Name: Anonymous 2011-08-09 9:47

Fuck you, Xarnus

Name: Anonymous 2011-08-09 10:06

C is a rope.  You can do something super-useful with it, sometimes better than with any other tool, but you can go hang yourself with it, too.  Continuing the analogy, C++ is like that swiss-army knife with the 800 tools in it.  You'll never use 80% of them, many are for only one purpose, BUT THEY CAN ALL KILL YOU!

Name: Anonymous 2011-08-09 10:20

Name: Anonymous 2011-08-09 10:22

Hi reddit! Lol

Name: Anonymous 2011-08-09 10:22

Hi reddit! Lol

Name: Anonymous 2011-08-09 10:22

Hi reddit! Lol

Name: Alex C 2011-08-09 10:25

You sir, are a poet.

Name: NIGGERS 2011-08-09 10:31

SUCK MY COCK, NIGGERS

Name: Anonymous 2011-08-09 10:36

Reddit is now worse than the internet.

Direct me to a new site where everyone is not fagshitters.

Please, fagshitters from 10:20-10:31, die in a car fire.  I really hope you all do, fagshitters.  No, really, faggots, FUCK YOU, FAGGOTS, DIE IN A CAR FIRE.  IF YOU WERE HERE, I WOULD STAB YOU IN THE FACE, FAGSHITTERS.  FUCKING DIE ALREADY.  DIE FAGGOT.

Name: Reddit, lol so random 2011-08-09 10:38

When does narwal bacon?

at midnight

>>25
Did you mean carrot? HAHAHAHAHA

Edited: what's with downvotes?

Name: Anonymous 2011-08-09 10:40

>>27
hacker news?

Name: asdf 2011-08-09 10:41

adsf

Name: Anonymous 2011-08-09 10:42

For the fairy prudes, no, I don't hate gay people.  I voted for gay marriage in the last few elections where I could, and fully think homosexuality is ichiban A-OK.  I just hate your spamming, wanking, fapping fucking guts.  This is not what reddit is about, faggots.  It is the fagshitters who post fucking bullshit like 10:20-10:31 who need to fucking die in a car fire.  EAT SHIT, DELETE YOUR ACCOUNT, AND FUCKING DIE, FAGGOTS.

Name: Anonymous 2011-08-09 10:43

>>28

DIE IN A CAR FIRE, FAGGOT

Name: Anonymous 2011-08-09 10:44

YOU ARE ALL FAGGOTS, FAGGOTS.

Name: Anonymous 2011-08-09 10:47

If you are on this thread, and not a regular reddit reader, I humbly apologize.  But reddit is the new Digg, and faggots need to be told they are faggots.  FUCK YOU, FAGGOTS.  READ THE FUCKING reddiquette, FAGGOTS.

If you are a reddit reader and ignore it, FUCK YOU, FAGGOT.

If you are not, read it, or become a FAGGOT.

Name: Anonymous 2011-08-09 11:02

C is for cookie. That's good enough for me.

Name: Anonymous 2011-08-09 11:05

MrVacBob-sama please redirected referrals from reddit to goatse.

Name: Anonymous 2011-08-09 11:15

>>1
Listen I can't be bothered to explain it to you so here's an image macro depicting the explanation: http://bit.ly/lF39pb

Name: Anonymous 2011-08-09 11:22

If you are not, read it, or become a FAGGOT.
What if I want both? Doushiyou kana?

Name: Anonymous 2011-08-09 11:22

/prog/ needs a voting system and rage comics

Name: Anonymous 2011-08-09 11:50

>>39 NO, FUCK YOU, FAGGOT.  THERE ARE ALREADY RAGE COMICS.  POST THEM ON /B/ AND FUCK THE FUCKING FUCK OFF.

>>38 人生は大変だなー。

>>36 I LOVE YOU.

Everyone else, fuck the fucking fuck off, fucker.  No, really, just fucking kill yourself.

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