Timeline for Minimal NetHack
Current License: CC BY-SA 3.0
9 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 17, 2020 at 9:04 | history | edited | CommunityBot | Commonmark migration | |
| Jul 4, 2015 at 22:34 | comment | added | lirtosiast | Can you do p+=? | |
| Jul 4, 2015 at 13:51 | comment | added | Geobits | @dohaqatar7 Yea, but I don't use Java's anon functions for code golf. It feels shady to me on principle, whether or not others feel the same. | |
| Jul 4, 2015 at 11:49 | comment | added | ankh-morpork | If an anonymous function is acceptable you can trim your answer to 192 bytes: void m() becomes ()-> | |
| Jul 2, 2015 at 18:36 | history | edited | Geobits | CC BY-SA 3.0 | function? |
| Jul 2, 2015 at 18:12 | history | edited | Geobits | CC BY-SA 3.0 | edited body |
| Jul 2, 2015 at 17:54 | comment | added | Geobits | @ThomasKwa Yea, I've done it both ways at times. This is more like nested if statements than chained. It feels better to me because both halves of each ternary are at the same level, but distinct from the others. | |
| Jul 2, 2015 at 17:51 | comment | added | lirtosiast | I prefer formatting nested ternary operators at the same level of indentation, as you would a chain of if/else if. It's more readable. | |
| Jul 2, 2015 at 17:48 | history | answered | Geobits | CC BY-SA 3.0 |