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

I tried growing a beard

Name: Anonymous 2006-10-14 5:27

...but I ended up taking my pants off too much.

Why do people use C when there's C++ anyway? C is so... unorganised.

Name: Anonymous 2006-10-19 16:41

>>40
grammar please!

Name: Anonymous 2006-10-19 17:44

>>40
Isn't that just a matter of changing the compiler though? It's still just machine code in the end.

Name: Anonymous 2006-10-19 18:46

>>35
It's easier to analyze, and easier to prove.

Of course, that's not saying much (I, it's C for crying out loud), but there's a reason why reference crypto algorithms are written in C, not C++. It's also why things like splint can exist.

OTOH, not many people need that degree of clarity. What they need is abstraction, which C isn't all that hot at.

Name: Anonymous 2006-10-20 5:42

>>23
Segfaults qualify as undefined behaviour. Wanker.

Name: Anonymous 2006-10-20 7:48

>>44
And why is that, hmm?

Name: Anonymous 2006-10-20 8:43

>>44

You are a retard.

Name: Anonymous 2007-05-29 16:45 ID:nGUjtw+I

I don't think we actually came to a reasonable conclusion in this thread. It must be discussed further.

Name: Anonymous 2007-05-29 17:24 ID:Heaven

>>47
C fails, C++ fails even harder. Thread over!

Name: Anonymous 2007-05-30 3:34 ID:EWpXySy3

penis :D

Name: Anonymous 2007-05-30 6:50 ID:gk1bMz70

>nested templates

WHAT.

FUCK.

Name: Anonymous 2007-05-30 10:50 ID:1ag7E8Nq

C is better than C++ because it's SIMPLE.

Analogous arguments that may be more or less true than the above statement:
Python is better than Perl because it's SIMPLER.
Scheme is better than Lisp because it's SIMPLER.
Programs with fewer lines of code than larger programs that do the same thing have less security holes because they're SIMPLER.

You can read the C specification in an hour and understand everything about the language. Sure, it doesn't support every paradigm of programming out there (neither does C++!), but the result is that the idioms are quickly recognizable by other programmers.

C is much easier for static code analysis tools like lint to work with.

More people know C than C++.

C++ has plenty of nice ideas shoehorned onto C (the best of which were added back to C to make C99), but I'll stick with the C's workhorse rather than C++'s sprawling "elegant" object/template/rtti/abstract container classes (all that and you still don't get closures! oops!)

Name: Anonymous 2007-05-30 11:01 ID:Heaven

Programs with fewer lines of code than larger programs that do the same thing have less security holes because they're SIMPLER.
IF THEY DO THE SAME THING THEY HAVE THE EXACT SAME SECURITY HOLES YOU IDIOT

Name: Anonymous 2007-05-30 11:04 ID:Heaven

>>52 has WMF and ANI exploits in his firefox on linux

Name: Anonymous 2007-05-30 14:15 ID:fG/+K8/P

Q: Why C?
A: Embedded programming.

Name: Anonymous 2007-05-30 14:17 ID:Heaven

>>53
Firefox doesn't do ANI and WMF.
THUS THEY'RE NOT THE SAME THING

Name: Anonymous 2007-05-30 14:58 ID:ceAWXN6/

C is older than you are, bitch, and it'll still be around when you are long dead.

Name: Anonymous 2007-05-30 14:58 ID:Heaven

This resurrected thread is funny.

There were a number of lucid, well-thought out posts that I agreed with. Then I realised they're posts I made. Whoops.

Name: Anonymous 2007-05-30 15:10 ID:Heaven

embedded systems are stupid and shouldn't be the reason for anything besides suicides.

Name: Anonymous 2007-05-30 17:17 ID:yBKzHetj

>>13

More like people high on crack need high level language because they can't think straight enough to use C, right?

Name: Anonymous 2007-05-30 19:52 ID:tdLcJZYp

Who are you going to believe >>51 OR AN IDIOT WHO OVERLOADS BITWISE OPERATORS(Stroustrup) ?

Name: Anonymous 2007-05-30 20:39 ID:Heaven

>>58
Kill yourself, lol.

Name: Anonymous 2007-11-07 22:52

I think Objective-C is a better OO language then C++ except you are forced to use that retarded NObject library.

Name: Anonymous 2007-11-07 23:13

Let's have some facts here

1) C and C++ can't do everything; However they can do anything any other language (except asm) can do.
2) C offers very little abstraction, C++ a bit more
3) C++ is more complicated than C.
4) Takes years to learn C. Twice the time to learn C++.
5) Using higher level languages that offer more abstraction allows people to concentrate to real problems rather than trivial ones that have been solved so many times before
6) Learning C or C++ and solving trivial problems for the sake of practice & knowledge is fine; else you're the cancer killing programming.
7) C++ is retarded

Name: Anonymous 2007-11-07 23:17

>>63
Oh, and 8) i forgot to add
8) C is not faster than C++. There's no speed in languages, only in algorithms and actual code. And assembly. In assembly it's documented how many cpu cycles each mnemonic takes, however in C or C++ or any other language they don't tell you that + is 'faste'r than *.

Name: Anonymous 2007-11-07 23:31

>>63
1. Your definition of "do anything" is wrong.
2. Well yeah.
3. You're getting good.
4. Meh, perhaps.
5. Sure does.
6. I like you.
7. ♥

Name: Anonymous 2007-11-08 0:33

>>64
>There's no speed in languages, only in algorithms and actual code.

C, Java... same shit.

Name: Anonymous 2007-11-08 0:36

>>63
>>64
>>65
Stop trying to find excuses for using toy languages like LISP, just because you're too retarded to work with languages that are closer to the machine.

Don't get me wrong. Guys like you are needed. There will always be people who code in assembler and others who can only do PHP. Just be honest about it and stop lying to yourself.

Name: Anonymous 2007-11-08 0:48

>>67
You're a troll, i'm sure i know every instruction of the assemblers you've EVER HEARD OF.
SPARC, MIPS, 8086, Z80, PDP11, WHATEVER. BRING IT BITCH

Lisp offers great abstraction, and YOU'RE A MORON BECAUSE C OR C++ ARE NOT CLOSE TO THE MACHINE.
INFACT, THEY HAVE *NO RELATIONSHIP* WITH THE MACHINE.
YOU FUCKING NOOB.

Name: Anonymous 2007-11-08 0:59

>>67
If I want to be close to my machine, I'll unzip and code some assembler. Maybe C. But Sepples? That's for faggots who want to get high level but have an irrational fetish for doing what the computer should do, and who aren't bright enough to understand a real high-level language.

Name: Anonymous 2007-11-08 5:02

>>67
OMG closer to the machine! Hell yeah! Keep wasting your time, faggot ricer.

>>69
Truth

Name: Anonymous 2007-11-08 8:42

>>68
>>69
>>70
LOL angry LISPfags.

Name: Anonymous 2007-11-08 9:39

>>71
No. We take the sane approach by getting stuff that works well ASAP then continually refining it to make it better.

Name: Anonymous 2007-11-08 9:51

>>72
Yes LISPfag, you can't code and need a language that dumbs it down to MBA level. What else is new?

Name: Anonymous 2007-11-08 9:53

>>69
and who aren't bright enough to understand a real high-level language.
The higher the level, the less skill is needed. Also limits what can be done with the language of course, but not like enterprise fags really care.

Name: Anonymous 2007-11-08 10:04

>>74 I think >>69 has his terminology backward

>>58
Kiss your cellphone goodbye bitch. That and anything made by PLC or CNC or microcontrollers or... or...

There's a lot more use for embedded than enterprise shit.

Name: Anonymous 2007-11-08 12:08

>>73
Lol, this is such an hilarious troll. COBOL and Java are the business language, and MBAs are more likely going to understand C. No chance in hell of them understanding McCarthy's original Lisp, let alone a modern Lisp.

>>74
The higher the level, the less skill is needed.
Big failure. You either think high level = Visual Basic, or are a troll. You need different skills, which are sometimes harder to gain (but yield better and faster results once got, hence you prefer high-level languages).

Also limits what can be done with the language of course, but not like enterprise fags really care.
You're definitely ignorant. You think high-level = Spectrum BASIC. A high level language such as Python has access to the same things an OMG OPTIMIZED C program would, including POSIX (or Win32) and any library you can use from C, and it can even improve it as you can use these functions as first-class functions, introspect them, etc. They can also handle octet buffers and bit masks before you ask, and they support memory mapping, low-level sockets (even though there are much better ways to use them), ioctl, and absolutely everything you would do from C, except __asm { OMG EAX, [ECX*2+OPTIMIZED] } which is not C nor standard anyways.

Name: Anonymous 2007-11-08 12:16

One word, the optional but not forced low level of language, thread over

Name: Anonymous 2007-11-08 12:19

>>76
If you think LISP is hard, just go kill yourself.

Name: Anonymous 2007-11-08 15:38

Why do people use C when there's C++:

My main reason: Exceptions. I hate exceptions. When you realize that most people using computers are idiots, there can be no exceptions. Failure is a given. I recognize three exceptions, all three of which may not be caught by a compiler:

1. Stack Overflow. Been there, done that, had a program that would cause a stack overflow on Windows XP, but not on Windows 98. And the 98 computer had less RAM.
2. Segmentation Fault. Invalid Page Fault, whatever you want to call it. In a protected mode environment, accessing memory not owned by the program.
3. Integer Division by Zero. Nuff said.

Name: Anonymous 2007-11-08 15:48

>>79
When you realize that most people using computers are idiots,
there can be no exceptions
using computers are idiots, there can be no exceptions
there can be no exceptions
no exceptions

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