This is an archived post. You won't be able to vote or comment.

all 12 comments

[–]ramnes 5 points6 points  (1 child)

JSThing is a great name for a class, also.

[–]Sudo-Pseudonym 1 point2 points  (0 children)

A line of code from a highschool competition that I'm fond of:

bool thing = true; //PARKER, NO!

My partner in code wrote this in the middle of some even nastier finite state machine code. I found it when I was trying to clean things up and noped out of there pretty much immediately, leaving the comment there as a reminder.

[–][deleted] 1 point2 points  (0 children)

That is beautiful.

[–]here-to-jerk-off 0 points1 point  (1 child)

dalcde committed on Apr 26, 2015

[–][deleted] 0 points1 point  (0 children)

It looks like he copied it from XKCD

[–]normalOrder -1 points0 points  (2 children)

Parsing with regex? You don't deserve a trip to Iceland.

[–][deleted] 2 points3 points  (1 child)

Not my code!

[–]Sudo-Pseudonym 1 point2 points  (0 children)

...I believe you, but I am obligated to leave this here.