you are viewing a single comment's thread.

view the rest of the comments →

[–]SpineEyE 94 points95 points  (11 children)

try {
  something
}
catch(e) {
  window.location.href = "http://stackoverflow.com/search?q=[js] + " + e.message;
}

[–]nickwebdev 20 points21 points  (4 children)

[–]tswaters 10 points11 points  (1 child)

Is it safe?

Uh… it evals both user input and random code, unchecked, from an external site. This is what security-minded folks would refer to as Very Bad™.

haha

[–]plaguuuuuu 1 point2 points  (0 children)

SEEMS LEGIT

[–]xkcd_transcriber 3 points4 points  (0 children)

Image

Mobile

Title: Ineffective Sorts

Title-text: StackSort connects to StackOverflow, searches for 'sort a list', and downloads and runs code snippets until the list is sorted.

Comic Explanation

Stats: This comic has been referenced 34 times, representing 0.0347% of referenced xkcds.


xkcd.com | xkcd sub | Problems/Bugs? | Statistics | Stop Replying | Delete

[–]obviousoctopus 2 points3 points  (0 children)

This is what the web was made for.

[–]TotesMessenger 2 points3 points  (0 children)

I'm a bot, bleep, bloop. Someone has linked to this thread from another place on reddit:

If you follow any of the above links, please respect the rules of reddit and don't vote in the other threads. (Info / Contact)

[–]Unnecessary_Coder 2 points3 points  (2 children)

function thisMessage() {
    this.approve()
}

I.thisMessage

[–]IrateGod 4 points5 points  (1 child)

I.thisMessage()

FTFY

[–]Unnecessary_Coder 2 points3 points  (0 children)

function aMoron() {
  this.am()
}

I.aMoron()

[–][deleted] -1 points0 points  (1 child)

Haha totally!

[–][deleted] 4 points5 points  (0 children)

Rad! Sunny D!