3 ms·
I got my 50 stars in Python, but I also did the first two days in Forth because I've been wanting to learn it. Regarding another thread there talking about whet
by drivers99 4y ago
I got my 50 stars in Python, but I also did the first two days in Forth because I've been wanting to learn it. Regarding another thread there talking about whether the language affects the implementation, it did for me.
For day 1, I ended up using a pretty different method than the Python code, mostly so I could use what I already knew or could quickly figure out, processing it character by character.
I wasn't planning to do more, but I realize the input for day 2 could be executed as Forth code simply by defining the words for what those input command should do, and then executing the input AS Forth, so it was actually a quick and easy one in Forth.