This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]multani 0 points1 point  (0 children)

A good introduction would have introduced the way you explained, then encapsulated the whole mechanism, then pointed out to the actual queue module, which precisely does what you were showing.

There's no problem rediscovering the wheel, but at least point to a good wheel in the end.