Timeline for We're no strangers to code golf, you know the rules, and so do I
Current License: CC BY-SA 3.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 7, 2019 at 14:48 | review | Suggested edits | |||
Mar 7, 2019 at 16:51 | |||||
Mar 7, 2019 at 14:43 | comment | added | Stackstuck | I'll submit an edit. | |
Mar 7, 2019 at 14:38 | comment | added | Stackstuck | You can actually inline c to the foreach loop and just take out the class to optimize further. I would link it on TIO but the URL is too long. Gets you down to at least 665 chars/668 bytes. Why are you using £ by the way? | |
Jun 5, 2012 at 20:12 | history | edited | M_J_O_N_E_S | CC BY-SA 3.0 |
Better code
|
Jun 5, 2012 at 9:22 | history | edited | M_J_O_N_E_S | CC BY-SA 3.0 |
Realised a nested class with work in the constructor was more concise than a static method. Shared my findings for this here http://codegolf.stackexchange.com/a/6210/4633 Also, removed unnecessary braces.
|
Jun 4, 2012 at 21:17 | history | edited | M_J_O_N_E_S | CC BY-SA 3.0 |
realised that a delimited string had fewer characters than an array, and could save a heap by splitting it when I needed it split. Also, saved a few with string => var.
|
Jun 4, 2012 at 20:33 | history | edited | M_J_O_N_E_S | CC BY-SA 3.0 |
Added more escape characters, reduced total character count
|
Jun 4, 2012 at 8:22 | history | answered | M_J_O_N_E_S | CC BY-SA 3.0 |