- 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
Excellent point lone. I can't say I've run into the situation like you have above, but I'd like to think that I wouldn't combine overloaded functions with optional parameters. In that case, I'd simply name the functions differently.
Admin
...and by the way, foo(42) would return "The meaning of life".
Hey Alex, why do you bother to include the "Edit" button if we're not allowed to use it? I posted a message and then immediately (< 5 sec) tried to edit it, and I was told the time limit had expired.
Admin
The 'Edit' button was put there to demonstrate the superiority of (in)telligent systems' CommunityServer. It has no real function, except to make the people who wrote the webboard feel superior about their string of WTFs and plain errors. Also, it helps with the irony factor.
Admin
I've never heard that # should mean pound before. (does anyone still use that weight-unit? It's like using "feet" instead of meters. Or like using how high on the sky the sun is for measuring what time it is, instead of minutes/hours...)
Here we either call it "number sign" (because it's used instead of the word "number") or "havelåge" ("garden gate" - it looks like those gates some people has in their fence around their garden)
About the WTF: It's an extreme whattafuk that java doesn't have unsigned types! But it could've been worse - it could have had no types at all. Imagine that. No types in java.. Maybe now you can appreciate the signed types a bit more, huh? (yes, i'm drunk)
Admin
In the case of Delphi, you would get a compile error for making an ambiguous call. It will let you combine overrides with default params, but only if you make them unambiguous.
Admin
It's actually not a problem that Java has no unsigned types (actually char is an unsigned short). I've never missed them and it simplifies things greatly.
Admin
Sure, and you can always pass in a System.Collections.Hashtable in C-octothorpe, using the appropriate casts, blowing the type system entirely away and assuring a spot in the annals of thedailywtf...
Admin
Its traditional commercial use was such that when it followed a number, it was to be read as 'pounds': 5# of sugar. And when it preceded a number, it was to be read as 'number': #2 pencil, which still appears on US pencils. Thus the same character in a printer's type case had two uses.
It has many other names (and uses) in English. (Those in bold are listed as alternative names in the Unicode documentation.)
It's not the "hash" (or pound) symbol as most people believe. It's actually supposed to be the musical sharp symbol. However, because the sharp symbol is not present on the standard keyboard, it's easier to type the hash ("#") symbol. The name of the language is, of course, pronounced "see sharp".
Since most fonts don't contain the sharp sign most websites will doubtless continue to use the fallback hash mark. The "music sharp sign" which should be used if available is U+266F (?).
Admin
If "in" is a negative prefix, as in "impossible" == "not possible", and "intelligent" == "not dumb", then I guess we all know what "telligent" must mean.
Admin
No it wouldn't! It will return, however, the ultimate question to Life, the Universe, and Everything (the argument being the answer, of course). :)
-dZ.
Admin
The use of the # symbol is still used for pounds (weight, not monetary) and is always used postfix. It is still most often seen as part of a description of a person. For example: 6'2" 175#
Admin
Hahaha oh man, C-octothorpe... That's my new thing.