- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
Hey elitist programmers! Please read the following message, as it's directed at you.
SHUT THE F*CK UP ABOUT YOUR STUPID LANGUAGE OF CHOICE.
Yes, I did it in all caps, as a way to indicate that I am "yelling." Nobody gives two shits that you think that LISP or FORTRAN or Ruby is the best language ever. The real programmers use whatever language best suits their needs. In the end, there's only one language, and it's machine language. Get your stupid mind around that, and shut up about how we're all dumb for using whatever other language we're using (to get the job done, no less). Use your awesome syntax and super framework elsewhere, because I'm sick of hearing about it. It's bullshit. It's analogous to saying a number 5 Torx is better than a #3.
Love, George Bezel
Admin
Twice as good shurely?
Admin
No, that would be the Torx #6.
Admin
Of course, what's his name doesn't actually use a signature, he actually signs the end of his post, or pastes it from god knows where, every freaking time.
Sincerely,
Anonymous
Admin
If you guys think Gene Wirchenko's signature is annoying, imagine how I felt when he replied to one of my posts on rec.arts.int-fiction - signing his post the way he always does...
Admin
Whenever I mentally parse the word 'Sincerly' in any electronic communications...my poor brain automatically translates it into it's possible... nope, probable other meaning, i.e. !Sincerely_at_all.
Yours forever in loving embrace,
Andrew
Admin
Why is everyone making fun of this dude. Consider the following:
Click a logout button. This will change the url to "logged_on=NO". In the code behind you check for the query string and if it says logged_on=no then you will destroy the session or cookie.
Just a thought.
Admin
Howdie Young Folks,
1. That's not a matter with the programming language, it's a matter of poor design.
2. You may have noticed that web programming, as they call it, is nothing else but a particular type of client/server programming.
3. Keeping your skills current might just not be what you make it sound like. Certainly, it's not about the language-du-jour.
Cheerio
Admin
It is not trolling but historical fact. The first C++ was implemented as a front-end to a C++ compiler. Look up "cfront".
I don't need to look it up, I know for a fact. It was NOT a front-end to a C++ compiler, C++ didn't exist at the the time. Cfront was the tool that took "C with classes" code and translated it into C. C with classes later then became C++.
Admin
Encoding things in the URL as plain text is becomming more and more polular. I guess it has something to do with complicated things we mortals don't understand, like "server load" and "performance tradeoffs"...
http://blogger.xs4all.nl/rrolfje/archive/2006/01/12/74016.aspx
https and sessions are SO last month....
Admin
Nice. 112 replies, and everybody's so intent on flaming Gene that nobody's noticed that the WTF'er is processing credit card info on a non-SSL site ...
Sincerely,
Kristian
Admin
Oh, OK then. Well if that was the original point then his original point was bullshit. Some people prefer to develop in FFox and then fix it for IE, some front end designers prefer to go straight to developing for IE, and, knowing the standards as well as they do, can design for FFox and test it in IE at the same time, so that the second step is easier. Back end programers which is probably, one would imagine something that would apply to even the best (but not all!) Cobol.Net ASP.Net developers probably don't give a rats arse what the browser is, since they are just writing out standard old-school HTML and none of this fancy box model stuff even comes into it.
The original point was very bigoted, but also indicative of someone who doesn't know what they are on about.
Yours sincerely,
NO NO NO NO NO ^W^W^W^W^W^W^W^W^W^W^W ARGH
--
This post [pi] approved
Admin
That's not a theory, that's flogging a horse that has been dead for more than 10 years.
Though after what happened the LAST time a foreigner whose name began with H got ridiculously popular in Germany, I suppose it's understandable that Americans are still worked up about it.
Admin
You must have missed the post where he corrected himself...
I'm pretty sure that most of us translated "The first C++ was implemented as a front-end to a C++ compiler" into "The first C++ was implemented as a front-end to a C compiler" because making the first implementation of something a frontend of a previous implementation of the same is pretty impossible. Or is due to some odd space/time continuum ripple. ;) Bmwoahaha!
Admin
Your so right Mr. Wirchenko and C was only a front-end to Asm.
like your head is the front-end to your ass.
But no more today with .NET (niet), No need for that.
it is only ass.
Admin
Germans love David Hasselhoff?
Rather: 6-10 year old Kids in Germany loved him (a decage ago or so). When he tried to start a carreer as a rock star, his concerts where sold out - but it was mostly children with their parents.
Admin
Spoken like a true Lisp smuggie. Lisp was ahead of modern CS 40 years ago in the same sense that Latin is the one true language of scholarship. Perhaps you should open your eyes to progress and accept that Haskell is more powerful and more expressive today than Lisp has ever been - and it's provably safe, too, unlike Lisp where you can kill a program just by taking the cdr of an empty list.
And you think we give two shits whether you give two shits or not?
You, sir, are not only an idiot but an ignorant idiot. When you say "machine language", what the fuck do you think you're referring to? Which machine? In case you didn't realise, Pentiums and PowerPCs don't actually read the same language, ya know? And even Athlons and Pentiums only read the same language on the surface - they translate it into different code internally - so even IA32 "machine code" is only really an abstraction of what the processor reads, just like .NET's CLR or Java's bytecode.
Please shut the fuck up about your stupid misconceptions that all languages are created equal. You CAN write code in Lisp, Python, Ruby, ML, or Haskell, that would be unfeasible to write in C++. This is called "being more expressive". Many people think this is a Good Thing. And we have a right to say so, whether you like it or not.
Admin
Sincerely,
-- Oscar Wilde on Gene Wirchenko
Admin
Doesn't bother me.
Admin
The huge problem with that article is that it makes the mistake of considering C++ is a low level language. There are not much things that the new trendy languages based on VMs do that C++ cannot do as well. Of course, you can program in a low level way and do stupid stuff with pointers, and stuff. But it's just tools that are present for the sake of low level code that shouldn't be used in a high level app, but WTFers are everywhere.
I think that the biggest difference is the presence of an extensive framework in the more recent languages.
The fact that C# and Java and such use a VM instead of native code is useful for some apps (because of the binary level cross platform compatibility) and detrimental for others (waste of resources, poor scalability in some situations)
There are very nifty and useful high level programming techniques that are just not available in java or C#, because you don't have a fine grained control of the life cycle of your objects (I have a friend writing .net code that routinely curses the necessity of having to explicitely call dispose() to force an object to free its resources right away and not when the garbage collector feels like doing it)
I always get the impression that the "moving on with technology" people just always consider anything more recent has to be better.
I know that I can write pretty clean, concise, robust and efficient code in C++, and that the new shiny languages woudln't allow me to do it any better (and would have some performance cost). While there are some situations where I would probably use them over C++ (like if I had to write a web application), I would use C++ for anything like a desktop application or a game.
And for the record, I'm 27, so no, I'm not an old technology rejecting guy.
Admin
Damn, hit the wrong button. It was in reply to someone whinging about sincerely. Anyway, it should be "faithfully", as it's written to nobody in particular.
Yours faithfully,
Nick Lee
Admin
So what ?
I have the utmost respect for these people and what they built, but it's not like I should just take everything they say as gospell. I can make my own choices.
Besides, if you look at the following messages on that ML, one of the explanation given for creating "Plan 9 C" instead of going with C++ was they weren't happy with the C++ implementation and it was kind of unstable.
It was probably a legitimate concern at the time, just like the lack of standardisation of C++ was a legitimate concern in the past.
Admin
2 things you have in .net and Java but get (easily) in C++:
Reflection
Garbage collection (I think it's a good thing)
And that's little compared to the additional possibilities of dynamic languages like Python etc.
Admin
"can not" missing
Admin
Because your not sincere enough, dear sir!
Sincerely,
Magic Duck
Admin
This reminds me on an old C joke:
if (status = UNDER_NUCLEAR_ATTACK) {
launch_full_counterstrike();
}
Yours,
Tichy
Admin
This is perhaps the most critical thing that C++ lacks IMO, and I never found a good general purpose external reflection system (like something that would parse header files and generate the necessary runtime description code and data).
However, you essentially need this when you want to write a serialization framework. So, write one (or grab one off the net, even though I found most of the readily available ones leaving me wanting) and be done with it.
Garbage collection is a double edged sword. Most of the resource management can be solved with reference counting (which can be automated easily in C++ using smart pointers). Yeah, I know that it's not good when you have cyclic references, hence why I said "most". Anyway, I didn't find much need for cyclycal references in most of the code I write, and if I do, I can just solve the problem locally using weak smart pointers or such things (like if I'm writing a graph node class)
Garbage collection unecessarily bloats the heap, and makes automatic freeing of resources others than memory painful, because you have to do it explicitely.
Having garbage collection over reference counting is not clearly an advantage as far as I'm concerned. And anyway, you can quite easily integrate a ready-made grabage collector like Bohems in C++ code, so I wouldn't say that it's something that you can't get easily in C++.
You don't need any of this for most apps. If you do, you're often better off having your app in C++ and embed a scripting language (like lua or python) for the very high level stuff where a dynamic language can be useful. You often don't want, however, to pay the price of the dynamic language throughout your app just because it's useful somewhere in it.
Admin
Amen! I was just about to post the same. Fucking n00bs!
Also, different languages has different advantages. Sometimes it doesn't matter which language you choose (just a matter of taste), sometimes you need one of those advantages. I would have thought everyone posting at this site knew stuff like this...
Admin
Not only that. Another example would be a web application framework where an url like
"http://myserver/webapp?class=myOwnClass&action=doSomethingSpecial&id=4711"
causes the app to look for a class called "myOwnClass" and calls the "doSomethingSpecial" method with 4711 as parameter.
(of course some security checks are necessary so a malicous user cannot do a reflection injection attack)
I've thought that COM is close to the idea of reflection, isn't it?
A container (e.g. Windows form) has an array with it's childs; the child have a pointer to their parent... not that uncommon.
Yes, that's the downside of GC.
The new generational GC in Java has a big advantage over traditional memory management: allocation is lightning fast if no GC occurs. During garbage collections, only the objects that are still alive are processed (moved to the next generation); all the temporary objects are thrown away in one step. In traditional memory handling, every object is released from memory seperately.
Embedding Lua or Python is a possiblity, but that means you have to master two languages.
Admin
What exactly is wrong about comparing languages and discussing merits and disadvantages of each?
Admin
You are more alone than you think.
Adam
Admin
You do know that you're assigning instead of comparing, right? That statement both puts the country under nuclear attack AND launches the full counterstrike! It's not rocket science you know.
*Ba-dum dum*
Admin
Are you explaining the joke? Or are you, having not understood the joke, pointing out a typo?
Admin
*tears* why would this madness exist?? Now I know there is a hell!!
Admin
Another Initech post, is it same company as mentioned in this post: http://www.thedailywtf.com/forums/52300/ShowPost.aspx?
Admin
I exclusively use IE. The only place Firefox is installed is on a test machine, along side with Opera, Netscape, and AOL, to make sure that software works cross-browser when needed.
Many have tried to convert me, but when it comes down to it, I don't use this "web thing" that much at all. So, why bother?
Also, consider, if I got "hooked" on another browser, then I'd have to install it on my own laptop and workstations. Then, when I'm on on-site at a client, I'll whine and scoff that I have to use IE because they don't have (other browser) Bah.
Admin
Joke? That's Skynet's source code!
Admin
that is just two funny ... where do these developers come from??
Admin
For the same reason, I use only notepad as an editor.
(just kidding)
Admin
OK, I couldn't get this to work. How exactly do you execute the "Go back to the main page" step? I don't see anything different when I do this, since I am just typing the URL back into the address bar the same way as the first time. So I get asked for a password the second time too.
Admin
Well, there you go. It seems every third Tuesday, someone on this forum complains, "Oh, we need sarcasm tags or emoticons --people don't realize I'm kidding." But when someone comes out and explicitly says he's being sincere, it's more controversial than a supreme court nominee. Gee whiz, make up your mind. Boy. Gosh darn.
--Rank
Admin
That would be...less than sincere. True sincerity would involve really typing it every time. Otherwise it's just lip service.
He keeps using that word. I do not think it means what he thinks it means.
Admin
The obvious fix is to change it to - LOGGED_OFF=YES... I mean, duh.. who could figure that one out.
People who actually put stuff like that in query strings should probably just be shot or at least taken to a web programming security conference. hehe
Admin
Heh. Security through reversed obscurity. What if you passed all the stuff normally (in my world, this means through databases, not through cookie or url) but put that stupid "Logged_on=No" tag in the url. When some bright boy saw it and changed it to "yes" you could map back his IP, and send it to the FBI reporting him for trying to circumvent security.
Seriously...If I saw that I'd be too worried that someone was being subtly evil to exploit it. "Logged_on=No" screams trap.
Admin
It's the name that Alex puts in place of the actual company name in submissions. It's from Office Space I think (I didn't see it).
Admin
&First_Post=NO
Admin
Yeah, I thought it was pretty clever too
Sincerely,
Gene Wirchenko (actually dasmb)
Admin
...which is why the developer chose it.
Admin
Actually, you still need a password to do anything. However, I'd bet that there is a SQL Injection opportunity here though.
http://www.inetonsite.com/onsite/getpassword.asp?RETRY=False&CLIENT=Williams+Scotsman&SITE=Wsbaltimore&CAMERA=Automatic&OPCODE=LAST&FILE=ip.asp&DATE=undefined&FRAME=S_Wsbaltimore_Automatic_2002_05_29_13_00_06.jpg&O=L&CL=84&S=151&CA=373&F=656474
Admin
Damn, chose reply vs. quote. This was a reply to the comment "Rot-26 is far superior"