

In this case, it seems like a feature.
It does make me wonder why not use a bounded channel instead (assuming these tasks are shared between threads, maybe because it’s multi-consumer?) but a deque is more flexible if that flexibility is needed.
Personally, I can think of a use for this myself. I have a project where I’m queuing audio to play in the background, and using this kind of deque for the queue would work here as well (though I use a bounded channel currently).
There are also a lot of times when i’ve wanted a stack-only data structure to avoid allocations where these can theoretically come in.
Banning 4chan for that reason would be valid if they had a law against that to enforce.
But in the same way you don’t go after someone for tax evasion in a country they’ve never been to or interacted with, you don’t fine 4chan because they won’t start collecting IDs from users when the company is not even in your jurisdiction.
Either way, I can’t imagine people there missing 4chan. They just need to give a valid reason to block it instead of BSing a fine.