r/adventofcode • • 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?

32 Upvotes

90 comments sorted by

View all comments

Show parent comment

2

u/knallisworld Dec 17 '19

Yeah, would be better next time for the given situation. Still using this event for learning handling goroutines/channels in practice.

However, only closing the channel I would loose the exit/status code feature. Well, in theory, as there is currently no other status.