Timeline for Is my barcode valid?
Current License: CC BY-SA 3.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 28, 2017 at 23:37 | comment | added | Not a tree | Nice work! Here are a couple of suggestions to help get the bytes down. You can use the fish's wrapping behaviour to cut down on direction commands — it's often possible to fit a loop on a single line, with clever use of / and ?. The register (accessed with &) is a good place to store a counting variable, like you use to count how many times to go through a loop. Here's what your code might look like after applying these ideas (and a couple of others): Try it online! | |
| Nov 17, 2017 at 2:51 | history | edited | Bolce Bussiere | CC BY-SA 3.0 | More efficient use of whitespace, more efficient validity check |
| Nov 17, 2017 at 2:34 | history | undeleted | Bolce Bussiere | ||
| Nov 17, 2017 at 2:34 | history | edited | Bolce Bussiere | CC BY-SA 3.0 | added 85 characters in body |
| Nov 17, 2017 at 2:27 | history | deleted | Bolce Bussiere | via Vote | |
| Nov 17, 2017 at 2:26 | history | answered | Bolce Bussiere | CC BY-SA 3.0 |