- 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
Are you trolling or incapable of understanding why wanting all uses to match, to be easy to change uniformly, to contribute to readable code, and to perhaps eventually depend on localization or configuration is wise? Are you claiming a named constant is an automatic WTF?
P.S. Wikipedia alone gives 9.80665, 9.797645, and 9.812865328 as reasonable choices if you don't want to account for latitude.
Admin
I propose that we accept existence of the remaining meta levels up to and including the countable alephs by induction, rather than attempting to prove it exhaustively in this thread.
Admin
Admin
Admin
I believe you are being a meta-nazi (Godwin's law invoked).
Admin
aparantly, speling is purty hard.
Admin
The "exit for" is executing in the branch delay slot, obviously!
(For those not in the know, in certain assembly languages, the line after any branch command gets executed. Some assemblers rearrange the code before compiling, or insert a NOOP after all branches)
Admin
Admin
I don't think that using a constant for something that actually is a constant is really a WTF. Even if you're never likely to alter the value of the constant, you do at least get to use a symbolic name instead of a value.
I don't know if the way it's being done is a WTF though - I'm assuming that's how VB does returns?
Admin
Admin
I'll see your Optimus Prime and raise you a Gregor Samsa
Admin
Admin
Admin
I wrote and am using a library called "Transformer". How did I resist that joke?
Perhaps more accurately, how did I get beaten to it?
Admin
There are Facebook nostalgia groups for old mobile phones. Now that makes me feel old!
(And don't even get me started on retro 90s clubs!)
Admin
I'd put money that the BS function variable syntax of this:
Is why this had to be there:
probably used to be and since using the function as a variable wouldn't "return" and exit, they needed an exit to prevent later iterations of the loop. Then someone with a brain came along later and changed it to return, but forgot to take out the comment.Admin
This.
It's generally good practice (not that I always follow it) of putting all numbers that signify something as constants, even if they can never change. It makes it most code much easier to read, instead of "9.81? Where did that come from again? Let me read the comments..."
Admin
Probably more to it than meets the eye...
Admin
Admin
Well, the real WTF with the Newton procedure is that it should be a property, not a procedure.
It's worthless otherwise, isn't it? Getting Newton's gravitational constant is all very well. But why should we need recompilation to set it?
I'm also deeply depressed about the concept of a VB.Net "Consultant." But that's another story.
Admin
michaelBay.direct(); // throws BadImplementationException
Admin
I have a sudden desire to redefine and to hot-pink Comic Sans, just to get people to stop using them.
Admin
function POBox(eobj, eid) { return (true); }
Holy crap! It's the dreaded parentheses around the return value. NOT CLEAN! NOT CLEAN!
CAPTCHA: persto - African American magic words.. PERSTO CHANGO!.. you know... like how they say aks instead of ask and always use the personal form of the verb instead of its correct form?
Admin
That's evil! I like you.
Admin
soz
Admin
optimusPrime = new Transformer()
I guess there is more in this code than meets the eye. I guess it is a robot in disguise. Which I am not of course, but the site wants me to confirm I am not a robot.
Admin
Robert obviously doesn't get the concept of precision ... I had the pleasure of following a developer who hard coded the conversion rate for metric Tonne to US ton. The customer had requested greater precision so I had to search thousands of lines of code for the number 2.2 and determine on a case by case basis if it was a met tonne conversion ... I replaced them with constant from a shared library. I guess Robert would have simply done a find and replace 2.2 with 2.2046.
Captcha: Dolor ... we would have saved a lot by defining met tonne conversion rate in one place to first time around.
Admin
It is only a robot in disguise if:
public class Transformer : Robot { ... }
Admin
Public Function Newton() GoTo kgf
Saves the memory consumed by the End Function.
Admin
Given that the above thread attempts to address the issue of perceived censorship and the inhibition of commentary that strays from the desired thread of the governing power, that this could easily be considered germane to the concept of propaganda, and given that propaganda had a central role inside the Nazi regime, the invocation of Godwin's law is wholly inappropriate as the comparison is not one that is inherently hyperbolic in nature.
Be that as it may, the invocation further fails on its face purely and simply because of the commonly accepted tradition that the issuer of the Nazi/Hitler reference is prohibited from simultaneously being the invoker of Godwin's Law (perhaps because allowing Hitler to somehow become the posthumous arbiter of peace could be considered a tad distasteful).
Admin
Who made you the Godwins Law police?
BTW- Your first point is wrong, and your second point is a big "who care's".
Admin
Admin
Are you quite finished?
Admin
WTF?
Admin
Admin
He's not the Godwin's Law police, he's the Godwin Nazi. How this wasn't blatantly obvious to you is beyond me...
Admin
lol. Once again proving the comments > the article.
Admin
Admin
im in ur stylesheetz, changin ur tagz
Admin
I used to blindly believe everything Wikipedia said, until I found out they don't have an entry for Office Robbery Statistics. If Wikipedia won't dedicate an entry to that, it's useless.
Admin
No, because Optimus Prime is not new. He was introduced in the very first episode of the original cartoon.
Admin
Admin
http://en.wikipedia.org/wiki/Office#Office_robbery_statistics
Unfortunately the only statistics that section presents is about theft from offices, rather than robbery.
Admin
Man you corny!
Admin
Shouldn't Transformer implement Car instead of Car extend Transformer?
Admin
the vb return method wasn't available until vb.net
so more likely it was partially updated
http://www.a1vbcode.com/vbtip-156.asp
Admin
Admin
AAAAUUUGGGH!!! TOO LATE!!!
2nd attempt: lmao, Alex, Akismet thinks a link to a comment on YOUR site, in THIS thread is spam. wt-meta-meta-wtf-f?
Admin
I did not know that. Or, uh, care.
In other news, did you know that they legitimately do not have an article for "gullible"?
[image]Admin
This is not spam. No one is advertising anything except their boredom. Nice integration of strangly BTW.