Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

rjray (1649)

  (email not shown publicly)
AOL IM: rjrayperl (Add Buddy, Send Message)
Yahoo! ID: rjray_perl (Add User, Send Message)

Journal of rjray (1649)

Thursday October 24, 2002
04:21 PM

Quantum Computing in JavaScript

[ #8579 ]

A co-worker just showed me the following gem in a bit of JavaScript for one of our VoiceXML applications:

    if (value != "") {
        // Single line comment here
        if (value == "") {

I didn't replicate the comment, but the actual one is in fact just the one line. That means that someone (and we suspect this is the result of multiple developers trying to support on-going code) wrote the the comment and the second if test with the first one right in front of their eyes. Yay!

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.