Tiny question: I've got a bug in a submission to a challenge which another user found a few hours after I posted it. Should I delete the answer or just mark it as buggy and non-competing? codegolf.stackexchange.com/a/146116/74172
@JonathanS. buggy answers aren't valid at all (noncompeting is only for solutions in languages that postdate the challenge, and is basically obsolete anyway) so you'd have to delete anyway
The buffer is only for reading it into a string, so io.read can read arbitrary length strings, but the chunks it's split into when processing is dependent on the buffersize.
So even if that's 1, it will still be able to read as normal, but 256 is a more suitable value.
When it reads from STDIN, it reads it to a Buffer, then, it appends the contents of that buffer to a string, which is checked against whichever scan pattern the user specified until it matches. The buffer size only effects the difference between speed and memory of reading STDIN.
yo annoying teammate in bedwars kept dismantling my bridges and causing me to fall into the void like 10 times (told them to stop like 5 times). all I can say is that TNT and explosive fireballs are great for revenge...
@ATaco Do explicit return statements work in Funky?
what I did was those expressions would return a Statement object and break the immediate scope, and then keep looking up until it found the relevant code block and do whatever with it
so like return would keep looking up until it found a function and then return from it
Generate a program to output a string in yup
code-challenge metagolf string test-battery
yup is an older language of mine with the following commands:
0 Pushes 0 to the stack.
e Takes an argument N and pushes exp(N).
| Takes an argument N and pushes ln(N).
~ Switches top two items on s...
I always feel so lonely when TNB is quiet, science has shown that a coffee house level of noise boosts productivity. TNB is that coffee house, it lets me relax and be me. The moderators are not huge ass holes who make sure every sentence is perfectly on topic. They keep us in line from time to time but everything is just how it should be. Thanks for being you TNB.