A follow-on from my earlier post about quines.
With just a little bit of spare time…
After my earlier post I thought I might try to make a more complex quine. I decided to make a counting quine; where there is a number in the source code and each time you run the code the number is incremented. For this to be interesting (even to be really noticeable) I formatted the numbers as a 5×7(ish) grid of characters. For example:
# ## #### ## # # # # # ### # # # ### #### ####
(although the line-spacing here makes them harder to read than a text editor or GitHub.)
The first thing I realised as I was exploring with this idea was that Continue reading