3xiondev — 10/21/2024, 1:03:11 PM

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

↩ repost
3xiondev — 10/10/2024, 10:35:43 PM

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++}
♥ 4 ↩ 1 💬 2 comments
♥ 4 ↩ 0 💬 4 comments

comments

owl:

All of these are just variables...

10/22/2024, 3:18:07 AM
3xiondev:

the fact that there’s a semicolon after every condition

10/22/2024, 3:09:43 PM
owl:

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

10/23/2024, 1:19:12 AM
3xiondev:

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

10/23/2024, 10:53:38 AM