I'm writing a Priority Queue. The details of it aren't important, but to describe a situation, I need a specific word.
It's possible for an item with the lowest priority to be the most important item in the queue.
As an example, say you have a task where the time left to complete it is the priority of the task. An item with less time left (assuming all work is equal) will have a higher priority.
The problem is expressing this idea in a few words coherently. If I wanted a function that creates a queue that prioritizes items of higher relational priority, I could call it new-high-priority-queue
, or even just new-priority-queue
. "Priority" just generally lends itself to urgency and an understanding that more == more.
How do I name a queue that prioritizes "low priority" items though? new-low-priority-queue
? That sounds like all kinds of wrong. The best I could up with to express this idea was new-inverse-priority-queue
, but that still sounds obscure. Of course I could/will add documentation, but it would be nice if the name of the queue spoke for itself.