@Mr.Xcoder but you should know at least a bit of goofy mode to recognise when you need to drop a separator in verbose mode, or when it's not being golfed properly
@wizzwizz4 I mean seriously Google is amazing but that doesn't mean they can procure data out of nowhere
@EriktheOutgolfer At one point, people used that to make "The quick brown fox jumps over the lazy dog" translate into "The quick brown fox jumps over the lazy dog" in about five different languages.
What general tips do you have for golfing in The Shakespeare Programming Language? I'm looking for ideas which can be applied to code-golf problems and which are also at least somewhat specific to SPL (e.g. "remove comments" is not an answer).
Please post one tip per answer.
@Cowsquack Yes, it is intended (or at least I don't know how to avoid it). You should prepend every call to exec commands with {}| unless you want them to read input.
Say I have a language I'd love to use (like JavaScript for example), but there are tons of little pieces of functionality I'd love to modify built-ins with, like .peek() on arrays, or .isPrime() on numbers, etc. Assuming I kept a collection of utilities like this published on Github, would it be ...
The Dottie number is the fixed point of the cosine function, or the solution to the equation cos(x)=x.1
Your task will be to make code that approximates this constant. Your code should represent a function that takes an integer as input and outputs a real number. The limit of your function as ...