Skip to main content

Timeline for Print a Tabula Recta!

Current License: CC BY-SA 3.0

14 events
when toggle format what by license comment
Sep 18, 2017 at 17:18 comment added Endenite -2 bytes on the JS/HTML version <script>l="ABCDEFGHIJKLMNOPQRSTUVWXYZ";for(C=26;C--;l=l.slice(1)+l[0])document.write(l+"<br>")</script>
Jul 30, 2016 at 23:26 comment added Polyducks Unfortunately doesn't save anything if I do the same to the document.write on account of the <br> tag - needs brackets, which adds the two characters that the action removes.
Jul 30, 2016 at 23:06 comment added Neil Ooh, nice, that's an even better way of simplifying the console.log.
Jul 30, 2016 at 23:01 history edited Polyducks CC BY-SA 3.0
rearranged the alphabet to put U and I together ;))))
Jul 30, 2016 at 23:01 comment added Polyducks @Neil Had to rearrange the alphabet at the start of the console log version, because it calculates the result before putting it out, meaning the first line is put at the end.
Jul 30, 2016 at 22:55 history edited Polyducks CC BY-SA 3.0
mistype in code fixed
Jul 30, 2016 at 22:48 comment added Polyducks Testing this now, thanks @Neil! EDIT: Sweet holy moly. Thanks to you both, I'll add you to credit in the comment.
Jul 30, 2016 at 22:46 comment added Neil l.slice(0,1) is just l[0], while the ,27 is unnecessary, at which point you can move the slice and end up with l.slice(1)+l[0]. Also I think you can move the console.log to the loop body thus avoiding the trailing ;.
Jul 30, 2016 at 22:02 history edited Polyducks CC BY-SA 3.0
accidental redundancy
Jul 30, 2016 at 22:00 comment added Polyducks Oh snap. Looks like I forgot to delete it when I moved it to the for. Fixed! Thanks @DanTheMan :)
Jul 30, 2016 at 21:57 comment added DanTheMan Isn't the first C=26 irrelevant?
Jul 30, 2016 at 21:37 history edited Polyducks CC BY-SA 3.0
missed a semi-colon. Typical!
Jul 30, 2016 at 21:34 review First posts
Jul 30, 2016 at 22:51
Jul 30, 2016 at 21:29 history answered Polyducks CC BY-SA 3.0