Skip to main content

Timeline for Tips for golfing in <all languages>

Current License: CC BY-SA 3.0

10 events
when toggle format what by license comment
Mar 25, 2019 at 18:40 comment added elipszilon 54 (plus in some languages ones with diacritics) in JS.
Jun 16, 2017 at 14:42 comment added BradC @ is a valid variable name in T-SQL, use it instead of @a.
Jul 28, 2015 at 23:32 comment added proud haskeller not even considering that you can use the same name on different scopes, or reuse a variable you don't need anymore
Feb 20, 2015 at 2:41 history wiki removed Doorknob
Sep 11, 2014 at 12:11 comment added scragar If you're counting bytes instead of unicode then using extended ascii might be a way to squeeze another ~120 identifiers if you need them(not that for a golf script you should need more than 26 anyway)
Dec 24, 2013 at 16:08 history edited Timtech CC BY-SA 3.0
added 30 characters in body
Mar 27, 2012 at 22:25 comment added hammar @Gaffi: And more than enough for languages which allow Unicode identifiers, unless the task limits you to ASCII or counts bytes rather than characters.
Mar 27, 2012 at 22:10 comment added Griffin Often $ and _ can be used as identifiers.
Mar 27, 2012 at 21:13 comment added Gaffi 26 for non-case-sensitive languages. :-)
Mar 26, 2012 at 23:20 history answered ratchet freak CC BY-SA 3.0