Timeline for Loading... Forever
Current License: CC BY-SA 3.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 14, 2017 at 2:58 | comment | added | Tyler MacDonell | @Gerrit Luimstra Doesn't work in Kotlin, must be a Boolean. :( | |
Jan 12, 2017 at 12:56 | comment | added | Gerrit Luimstra | Not familiar with this, but wouldnt while(1) be shorter? Or doesnt this work? | |
Jan 6, 2017 at 2:28 | comment | added | TheNumberOne | @TylerMacDonell Really? I didn't know you could run kotlin directly as a script. Thanks for the info. | |
Nov 28, 2016 at 20:00 | comment | added | F. George | Great idea of using Kotlin script. @Flp.Tkc Your comment reminded me of this: codegolf.stackexchange.com/a/101131/62024. Still shuddering that this is possible. | |
Nov 28, 2016 at 15:14 | comment | added | FlipTack | But what if, one day, 0 becomes greater than 1???? :P | |
Nov 28, 2016 at 14:09 | history | edited | Tyler MacDonell | CC BY-SA 3.0 |
Edit answer based on commenter feedback (thanks @mEQ5aNLrK3lqs3kfSa5HbvsTWe0nIu)
|
Nov 28, 2016 at 14:06 | comment | added | Tyler MacDonell |
@mEQ5aNLrK3lqs3kfSa5HbvsTWe0nIu Is 'full program' mode not acceptable? This can be run as a Kotlin script .kts without class or function definitions. Also, great call with while(1>0) !
|
|
Nov 28, 2016 at 6:13 | comment | added | F. George |
You could save one byte by using while(1>0) instead of while(true) (-1) & probably should include the actual function syntax in your answer (fun a(){<code>} , +9). If you wanna be a bit cheaty, you could use store a function as a variable (val a={<code>} , +8).
|
|
Nov 28, 2016 at 4:21 | review | First posts | |||
Nov 28, 2016 at 4:22 | |||||
Nov 28, 2016 at 4:20 | history | answered | Tyler MacDonell | CC BY-SA 3.0 |