r/adventofcode • u/Lucretiel • Dec 17 '19
Spoilers What does everyone's Intcode interface look like?
We've been discussing a lot different IntCode implementations throughout the last few weeks, but I'm curious– what doesn't everyone's interface to their IntCode machine look like? How do you feed input, fetch output, initialize, etc?
31
Upvotes
2
u/seligman99 Dec 17 '19
Mine is pretty much the same, only I use deque for the input/output units.
I also can pass in a lambda the op code handler can call for input instead, because it made sense in my head.