i think my other friend and I are going to write a modified version of Javascript called Gabrielscript where every statement is formatted like this

HELP I FOUND THIS IN MY FRIEND’S CODE I DON’T KNOW WHAT TO DO WITH HIM

while (price != 0); {price-25 = quarter++}
   while (price != 0 && price<=1); {price-1 && penny++}    
   while (price != 0 && price<=25); {price-10 && dime++}
   while (price != 0 && price<=5); {price-5 && nickel++}

comments (single view)

the fact that there’s a semicolon after every condition

I'm pretty sure you can just do this in vanilla JavaScript, semicolons don't actually mean anything anymore

I don’t think its possible to execute more than one line of code in a condtional loop if the conditional loop is on one fucking line

View all comments