- 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
Admin
Python.
:)
Admin
The biggest WTF is that Skynet became self-aware at 2:14AM, not 2:13AM.
Admin
Is my favorite.
Admin
and Haskell.
:)
Admin
Admin
*You're
Admin
TRWTF is that the person who wrote "Important-Function()" probably thinks that fitting a square in a circle is what is meant by "squaring the circle".
Admin
I, on the other hand, hate it when crap like case sensitivity leaks into languages and screws it up for the rest of us who are trying to accomplish something productive.
Admin
So you think that a language which forces you to be specific about which member, field, etc. you're talking about is a screw up, or are you just trolling?
The logical conclusion to that argument is to ask why should you spell the function name in use as it is defined? Because what, the compiler/interpreter should just KNOW what you're talking about?
void DoStuff() { // does stuff... }
d0Stuuff("some string");
Who wouldn't want to work in a language like that?
Admin
Admin
Obviously floats and doubles don't count as numbers.
Admin
Admin
Addendum (2011-04-04 13:39):
The benefits of case sensitivity aren't apparent until you start using it.Here's an example:
Without case sensitivity, you need to be an expert in the compiler to predict what it will do.
Admin
That's not right. The routine's name is "increment". Following the pattern we must therefore do anything but increment (and preferably exactly the opposite of that).
Admin
Admin
Admin
I like the fact that Important-Function() writes #5 ("Surfing porn sites on the internet...") 99.9% of the time.
Admin
Without case sensitivity, this wouldn't be. The compiler wouldn't let you do that...
The example you give is a perfectly cromulent C# example and would compile and run happily. For a junior dev looking at it, it may be a little confusing but at least it's concise. For me, code littered with "m_"s is about as readable as a page WRITTEN COMPLETELY IN BLOCK LETTERS. Case sensitivity is your friend: "item" to me is much more meaningful and clear than m_item, IMO.
Admin
Both case sensitivity and case insensitivity can be abused, but who would rather use a library that treats differently cased identifiers differently, as in "Add() does X but add() does Y" (and I've seen such an abomination in production code shudder).
Yes, there are conventions for how case is used in case-sensitive languages, but personally, I'd rather live with the situation where another dev screwing up case doesn't matter. Used well, either is perfectly fine. Used poorly, case-sensitivity can be a true wtf.
Admin
Admin
I wish I could agree with you: Case sensitive hater.
Admin
Admin
But what if inbool is EOF?
Admin
Is PowerShell .NET compatible?
Admin
Admin
Since when did this site degrade into The Daily Retarded Trolling Attempt?
Admin
Unce.
Tice.
Fee tines a mady.
(And pet peeve: giggling is "hee hee," not "he he.")
Admin
Admin
Admin
Seriously guys, did nobody else notice a change in the site's font? It's so thin I can hardly make out the letters. Other web sites look as good/bad as they did last week, i.e. no changes. But the Daily WTF is a real What The Font today. What's up?
Admin
Don't get on that guy's case. He was just protecting against FILE_NOT_FOUND.
Admin
Admin
It's the gub'ment messing with your lookin' box...
In other words, no, I haven't noticed anything.
Admin
Admin
Admin
Nice!
Admin
Admin
Admin
Admin
Admin
Admin
Admin
If idiot-developer can't create function "add()" because "Add()" is already used, what will stop him from creating function "add2()" instead?
Admin
Kind of disturbing really, but a little flattering.
Admin
If I don’t terminate a line, I usually stay on the line I’m already on.
Admin
Admin
Admin
This is obviously a troll. A non-troll couldn't be this insensitive.
Admin
cOUldN't AgREe mOre, WHO, nEEDS, case-SenSitIvities anyWAYs, it ServeS aS liTTLe puRPose In ProgRAMming As iN wrITTeN lAngUAgE. MaKiNG BOokS CasE SEnSItIVe stIFLeS tHE AuthOR's cREAtiVity, aND REDUcES hIS ProDUCTiVity.