Timeline for Tips for golfing in JavaScript
Current License: CC BY-SA 3.0
115 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 10 at 17:43 | answer | added | QOO-OOKALAN | timeline score: 0 | |
| Mar 8, 2024 at 5:59 | answer | added | l4m2 | timeline score: 1 | |
| Sep 17, 2023 at 0:01 | answer | added | Bergi | timeline score: 2 | |
| Aug 10, 2023 at 0:39 | answer | added | l4m2 | timeline score: 3 | |
| Jun 2, 2023 at 19:52 | answer | added | Dadsdy | timeline score: 2 | |
| Jan 14, 2023 at 17:12 | answer | added | l4m2 | timeline score: 2 | |
| Dec 23, 2022 at 15:42 | answer | added | l4m2 | timeline score: 0 | |
| Dec 23, 2022 at 14:03 | answer | added | l4m2 | timeline score: 1 | |
| Nov 15, 2021 at 21:27 | answer | added | Adám | timeline score: 2 | |
| Nov 3, 2021 at 22:50 | answer | added | smitop | timeline score: 2 | |
| Nov 1, 2021 at 15:26 | comment | added | Sebastian Simon |
I have discovered probably the most useless tip: a private class element doesn’t require a space before the private identifier in cases where it is preceded by a keyword: (class{static #x = 1;get #y(){};set #y(z){}}) can be rewritten as (class{static#x = 1;get#y(){};set#y(z){}}). This makes for some nice obfuscation, too, but I can’t think of a practical example in code golf.
|
|
| Jun 14, 2021 at 15:19 | answer | added | hypers | timeline score: 0 | |
| May 28, 2021 at 5:48 | answer | added | emanresu A | timeline score: 5 | |
| May 10, 2021 at 12:49 | answer | added | rydwolf ♦ | timeline score: 1 | |
| Feb 13, 2021 at 20:15 | answer | added | Alex bries | timeline score: 1 | |
| S Feb 13, 2021 at 0:05 | history | bounty ended | lyxal ♦ | ||
| S Feb 13, 2021 at 0:05 | history | notice removed | lyxal ♦ | ||
| Feb 12, 2021 at 6:01 | answer | added | emanresu A | timeline score: 1 | |
| S Feb 11, 2021 at 23:34 | history | bounty started | lyxal ♦ | ||
| S Feb 11, 2021 at 23:34 | history | notice added | lyxal ♦ | Draw attention | |
| Feb 7, 2021 at 8:35 | answer | added | HK boy | timeline score: 3 | |
| Dec 5, 2020 at 6:28 | answer | added | rydwolf ♦ | timeline score: 14 | |
| Jun 24, 2020 at 3:59 | answer | added | Steve Bennett | timeline score: 4 | |
| May 19, 2020 at 19:23 | answer | added | Luvexina | timeline score: 2 | |
| Feb 6, 2020 at 9:04 | answer | added | Kamil Kiełczewski | timeline score: -1 | |
| Feb 1, 2020 at 3:07 | answer | added | Python_4_life | timeline score: 2 | |
| Aug 22, 2019 at 13:15 | answer | added | Kamil Kiełczewski | timeline score: -1 | |
| Aug 22, 2019 at 9:30 | answer | added | Kamil Kiełczewski | timeline score: 1 | |
| Nov 15, 2018 at 2:46 | answer | added | JBDouble05 | timeline score: 1 | |
| Sep 12, 2018 at 16:26 | answer | added | kamoroso94 | timeline score: 3 | |
| Jun 26, 2018 at 8:19 | answer | added | Xzibitee | timeline score: 2 | |
| Jun 20, 2018 at 11:02 | answer | added | Neil | timeline score: 3 | |
| Apr 13, 2018 at 16:27 | answer | added | l4m2 | timeline score: 26 | |
| Jan 30, 2018 at 20:40 | answer | added | Newbie programmer | timeline score: 1 | |
| Sep 24, 2017 at 12:42 | answer | added | Unihedron | timeline score: 8 | |
| Jul 31, 2017 at 13:57 | answer | added | Ron Martinez | timeline score: 4 | |
| Jun 13, 2017 at 8:52 | answer | added | Tomas Langkaas | timeline score: 28 | |
| Apr 13, 2017 at 12:39 | history | edited | Community Bot |
replaced http://codegolf.stackexchange.com/ with https://codegolf.stackexchange.com/
|
|
| Mar 20, 2017 at 19:17 | answer | added | ETHproductions | timeline score: 13 | |
| Dec 15, 2016 at 15:07 | answer | added | Christian Sandven | timeline score: 4 | |
| Nov 22, 2016 at 17:41 | answer | added | ETHproductions | timeline score: 9 | |
| Aug 11, 2016 at 6:06 | answer | added | jrich | timeline score: 9 | |
| May 19, 2016 at 17:02 | answer | added | joeytwiddle | timeline score: 2 | |
| May 18, 2016 at 17:05 | answer | added | Scott | timeline score: 6 | |
| Feb 11, 2016 at 19:18 | answer | added | Cyoce | timeline score: 8 | |
| Dec 22, 2015 at 2:09 | answer | added | ETHproductions | timeline score: 12 | |
| Dec 22, 2015 at 1:23 | answer | added | ETHproductions | timeline score: 9 | |
| Nov 1, 2015 at 3:19 | answer | added | Mama Fun Roll | timeline score: 5 | |
| Oct 19, 2015 at 0:09 | answer | added | Mama Fun Roll | timeline score: 15 | |
| Oct 16, 2015 at 2:38 | answer | added | bren | timeline score: 5 | |
| Oct 16, 2015 at 0:31 | answer | added | Mama Fun Roll | timeline score: 6 | |
| Oct 16, 2015 at 0:27 | answer | added | Mama Fun Roll | timeline score: 5 | |
| Oct 15, 2015 at 22:42 | answer | added | George Reith | timeline score: 25 | |
| Oct 10, 2015 at 14:33 | answer | added | António Almeida | timeline score: 13 | |
| S Sep 1, 2015 at 0:09 | history | suggested | Not that Charles | CC BY-SA 3.0 |
added note to see closely related Tips question
|
| Aug 31, 2015 at 21:45 | review | Suggested edits | |||
| S Sep 1, 2015 at 0:09 | |||||
| Aug 21, 2015 at 14:28 | history | edited | mellamokb | CC BY-SA 3.0 |
remove note about posting one tip per answer, since very few people have :)
|
| Jul 28, 2015 at 23:25 | answer | added | Sebastian Simon | timeline score: 5 | |
| May 21, 2015 at 19:08 | answer | added | Cyoce | timeline score: 6 | |
| May 21, 2015 at 18:56 | answer | added | Cyoce | timeline score: 3 | |
| Feb 20, 2015 at 2:37 | history | wiki removed | Doorknob | ||
| Feb 12, 2015 at 4:53 | comment | added | Claudia | This link has a bunch of tips relevant here. | |
| Feb 10, 2015 at 19:16 | answer | added | Rocko | timeline score: -2 | |
| Dec 4, 2014 at 1:31 | answer | added | Claudia | timeline score: 2 | |
| Dec 4, 2014 at 1:11 | answer | added | Claudia | timeline score: 1 | |
| Dec 4, 2014 at 1:08 | answer | added | Claudia | timeline score: 2 | |
| Dec 4, 2014 at 1:04 | answer | added | Claudia | timeline score: 3 | |
| Dec 4, 2014 at 1:03 | answer | added | Claudia | timeline score: 4 | |
| Dec 4, 2014 at 1:02 | answer | added | Claudia | timeline score: 3 | |
| Dec 4, 2014 at 1:01 | answer | added | Claudia | timeline score: 5 | |
| Dec 4, 2014 at 0:53 | answer | added | Claudia | timeline score: 7 | |
| Nov 28, 2014 at 16:28 | answer | added | user3094403 | timeline score: 23 | |
| Aug 16, 2014 at 10:46 | answer | added | bebe | timeline score: 24 | |
| Aug 7, 2014 at 12:24 | answer | added | bebe | timeline score: 33 | |
| Aug 2, 2014 at 23:21 | answer | added | Doorknob | timeline score: 60 | |
| Jul 22, 2014 at 10:40 | answer | added | Rocko | timeline score: 2 | |
| Jun 3, 2014 at 19:05 | answer | added | Toothbrush | timeline score: 3 | |
| Feb 24, 2014 at 21:05 | answer | added | Toothbrush | timeline score: 6 | |
| Feb 21, 2014 at 10:01 | answer | added | ˈvɔlə | timeline score: 9 | |
| Jan 7, 2014 at 14:44 | answer | added | Florent | timeline score: 9 | |
| Dec 28, 2013 at 15:24 | answer | added | Konijn | timeline score: 8 | |
| Oct 24, 2013 at 8:24 | answer | added | Dom Hastings | timeline score: 9 | |
| Oct 13, 2013 at 15:42 | answer | added | null | timeline score: 17 | |
| Jul 11, 2013 at 4:08 | answer | added | Eliseo D'Annunzio | timeline score: 6 | |
| May 15, 2013 at 23:42 | answer | added | ajax333221 | timeline score: 152 | |
| Aug 30, 2012 at 22:11 | answer | added | FireFly | timeline score: 6 | |
| Aug 15, 2012 at 4:12 | answer | added | ajax333221 | timeline score: 9 | |
| Apr 24, 2012 at 16:31 | vote | accept | mellamokb | ||
| Apr 5, 2012 at 18:33 | answer | added | Griffin | timeline score: 5 | |
| Mar 27, 2012 at 7:34 | answer | added | Kae Verens | timeline score: 32 | |
| Mar 26, 2012 at 22:35 | answer | added | ajax333221 | timeline score: 3 | |
| Mar 21, 2012 at 16:55 | answer | added | ajax333221 | timeline score: 7 | |
| Mar 21, 2012 at 6:06 | answer | added | ajax333221 | timeline score: 9 | |
| Mar 19, 2012 at 18:39 | answer | added | ajax333221 | timeline score: 14 | |
| Mar 4, 2012 at 18:17 | answer | added | ajax333221 | timeline score: 2 | |
| Jan 18, 2012 at 16:53 | answer | added | mellamokb | timeline score: 17 | |
| Jan 16, 2012 at 11:09 | answer | added | Andy E | timeline score: 39 | |
| Nov 28, 2011 at 23:43 | answer | added | user3156 | timeline score: 39 | |
| Aug 20, 2011 at 0:45 | answer | added | Thomas Eding | timeline score: 7 | |
| Jun 9, 2011 at 15:05 | answer | added | mellamokb | timeline score: 9 | |
| Jun 8, 2011 at 11:12 | answer | added | Andy E | timeline score: 34 | |
| Jun 7, 2011 at 19:10 | answer | added | vsync | timeline score: 8 | |
| Jun 1, 2011 at 16:55 | answer | added | zzzzBov | timeline score: 132 | |
| Jun 1, 2011 at 14:45 | answer | added | pimvdb | timeline score: 5 | |
| May 29, 2011 at 20:54 | history | tweeted | twitter.com/#!/StackCodeGolf/status/74941647166767104 | ||
| May 27, 2011 at 13:53 | answer | added | mellamokb | timeline score: 1 | |
| May 27, 2011 at 13:47 | answer | added | mellamokb | timeline score: 22 | |
| May 27, 2011 at 13:44 | comment | added | mellamokb | @primvdb: It is allowed, but you have to be careful because it can cause side-effects if a function is called multiple times and it is manipulating global variables, or if it is a recursive function. | |
| May 27, 2011 at 5:28 | comment | added | pimvdb |
I was actually wondering, is it allowed to put variables in global (saves var)? And should JavaScript golf code be a function or output something directly? I honestly think this can make much difference.
|
|
| May 27, 2011 at 2:05 | answer | added | PleaseStand | timeline score: 8 | |
| May 27, 2011 at 1:47 | answer | added | PleaseStand | timeline score: 14 | |
| May 27, 2011 at 1:20 | answer | added | mellamokb | timeline score: 6 | |
| May 27, 2011 at 1:14 | answer | added | mellamokb | timeline score: 30 | |
| May 27, 2011 at 1:12 | answer | added | mellamokb | timeline score: 65 | |
| May 27, 2011 at 1:10 | history | asked | mellamokb | CC BY-SA 3.0 |