r/shittyprogramming • • Apr 25 '15

Middle school programming

Post image
368 Upvotes

29 comments sorted by

View all comments

61

u/jfb1337 Apr 25 '15

Make sure you have a variable called D and often need to check if it's 8:

if(8==D){
 ... 
} 

37

u/SkaKri Apr 25 '15
var ᗡ = 8.1;
if(~~ᗡ===8){
    console.log('heh.');
}

7

u/wonderb0lt Apr 25 '15

35

u/subredditChecker Apr 25 '15

There doesn't seem to be anything here


As of: 15:39 04-25-2015 UTC. I'm checking to see if the above subreddit exists so you don't have to!

1

u/u1tralord Apr 29 '15

This is my new favorite bot