Linked by Eugenia Loli on Mon 10th Oct 2005 16:48 UTC, submitted by Shlomi Fish
General Development Shlomi Fish has written a new essay titled "When C is the Best? (Tool for the Job)". Its theme is giving several reasons (besides high speed and low memory consumption) why some code should still be written in C.
Permalink for comment 43120
To read all comments associated with this story, please click here.
Lets sing!
by Anonymous on Tue 11th Oct 2005 09:22 UTC
Anonymous
Member since:
---

Two CS freshmen up hacking all night
hacking all night
hacking all night

Two CS freshmen up hacking all night
hacking all night
hacking all night

Gonna hack
Keep hacking
Gonna hack
Drink caffiene

Gonna hack Gonna hack
Gonna hack Gonna hack
Gonna hack Gonna hack
Gonna hack na na na

Enh enh enh enh enh enh
na na na
Enh enh enh enh


You think you're a programmer?
Well you've never used a debugger before
You're a newbie! Here's news, kid:
If you wanna hack code you need to debug it
'cause your code will have bugs and you'll need to fix it

So your process is stopped on an infinite loop
On some operation where an iterator's not incrementing
And when you fix that bug you get segmentation faults
'cause your strings are not NUL-terminated

Hey! It's no time to get frustrated
'cause your CS 10 course left you uneducated
I know your boss wants it done tomorrow
So here are some programming tips you can borrow

When you're doing something this easy
The bug won't be in gcc
So try to track it down with gdb
And I hope you compiled with -g

So, come on kid, print out your listings
Sit down, load the core file and fiddle the bits
Set breakpoints, and check all your branchings
And check all of the values in memory


Now if you want to hack in C
Then you'd better learn gdb
'cause you'll dump core eventually
And I hope you compiled with -g

I said, if you want to hack in C
Then you'd better learn gdb
'cause you'll dump core eventually
And I hope you compiled with -g


Little hackers, beginner programmers
Embarassed your teachers are still using Windows?
You don't need Linux to find out why you're crashin'
Use CygWin or MingWin and pretend it's a penguin

Dev-CPP's a nice IDE
It's not Anjuta, but it works for what you need
No floppies, keep your software on the 'net
And get it with Putty 'cause you don't know CVS

A bash script can't necessarily
be used on tcsh or ported from Be
And Perl? It's like blowing in your modem
*pfft* -- look, it's a regex! You can't debug that

And nobody can write standalone apps in PHP
Does anyone even use Python or Ruby?
There's no reason to code in assembly
These days when you can do it in C

*pfft* Attention PHBs
C++ is something you don't need
Too complex, you might as well use C
printf() just has cout plain beat


Now if you want to hack in C
Then you'd better learn gdb
'cause you'll dump core eventually
And I hope you compiled with -g

I said, if you want to hack in C
Then you'd better learn gdb
'cause you'll dump core eventually
And I hope you compiled with -g


Now Visual Basic's a piece of shit
Even the data validation functions crash
in it, a piece of trash language
ASP's begging to have your website hacked

And Java? It runs as fast as lava
The VM takes an hour to load
And configuration, you get write once, run nowhere
The FHS ain't that hard to follow

And C# is an obvious ripoff
Its Java without the interoperability
So big deal, it does XML like everything else
MS sycophants pretending it's something respectful

There are some times it seems to me
That everybody ought to hack in C
This must mean that C is neat
And C is not yet obsolete

Hey, I'm not saying that C is supreme
It lacks garbage collection and some other things
Just know what language features you'll need
And use whatever will provide these

So hey, here's a concept that works
Twenty million computer languages emerge
But no matter how well they fit your needs
There will always be a place for C


And if you want to hack in C
Then you'd better learn gdb
'cause you'll dump core eventually
And I hope you compiled with -g

I said, if you want to hack in C
Then you'd better learn gdb
'cause you'll dump core eventually
And I hope you compiled with -g


Na na na na na
Na na na na na
Na na na na na
Na na na na

Na na na na na
Na na na na na
Na na na na na
Na na na na

http://hamburgsteak.sandwich.net/writ/laugh/filksongs.txt

Reply Score: -2