FuckItJS: the Original Javascript Error Steamroller

#Computers

Tue, Jun 26th, 2012 10:00 by capnasty NEWS

Whether it's you that writes shitty code or it's Javascript that blows beyond any reasonable doubt, the FuckItJS jQuery plug-in will keep removing all the bits of code that generate an error "like mold on a piece of perfectly good bread," and recompile it until it works. Which it probably won't, ever because Javascript sucks, remember?

Through a process known as Eval-Rinse-Reload-And-Repeat, FuckItJS repeatedly compiles your code, detecting errors and slicing those lines out of the script. To survive such a violent process, FuckItJS reloads itself after each iteration, allowing the onerror handler to catch every single error in your terribly written code.

Please read the rest of the documentation. It's hilarious.

  534

 

You may also be interested in:

The Amazing World of Version Numbers
147,456 computer processors to think like a (slow) cat
The 10 Most Annoying Habits of Technology Companies
Marble Powered Mechanical Computer
Windows works for me. But I'd never recommend it to anybody else, ever.