It's one of the paradoxes of blogging that most every blogger (including myself) is sharing what they know right now (let's quietly ignore those who blog purely for traffic and visibility). Since everyone is learning, this can result in poor or misleading information being shared just as much as good information. Keep this in mind as you read any blog - how experienced is the writer and how well do they really know what they're talking about.
I'm just as flawed as other bloggers, so you should feel encouraged to check my ideas for yourself. Keep the date in mind as well - in our fast moving field, even good ideas can become obsolete.
Sometimes we’ll have an existing sequence of items that we want to prioritize - let’s explore a couple of simple extension methods that can make this easier.
Generating a hash code for an immutable priority queue introduces an unusual challenge: How do we generate a consistent hash code regardless of the order items are added to the queue?
As is always important, we need to implement hashing and equality. But what does equality mean for a queue?
I have a concern about the amount of debris created on the heap by the enumeration technique we used last time. Let’s explore an alternative approach and see how that compares.
|Equality in .NET||7|
|Immutable Priority Queues||14|
|Killing the Utility Class||5|
|Instance validation in C#||12|
|Queue Enumeration||15 Dec 2018|
|Queue Testing||08 Dec 2018|
|Creating Branching Nodes||01 Dec 2018|
|Two Dual Item Queues||24 Nov 2018|
|Simple Queues||17 Nov 2018|
|Enqueuing Values||10 Nov 2018|
|Dequeuing Values||03 Nov 2018|
|Designing the External API||27 Oct 2018|
|Introducing the Priority Queue||20 Oct 2018|
|A better approach to reflection||13 Oct 2018|
|Avoiding Magic Strings||06 Oct 2018|
|Capturing Validation Metadata||29 Sep 2018|
|Modelling Validation Metadata||22 Sep 2018|
|Validation Metadata||15 Sep 2018|
|Extending validation with warnings||08 Sep 2018|
|Bootstrapping a Psake build||01 Sep 2018|
|Validation recap||25 Aug 2018|
|Equality of validation||18 Aug 2018|
|Short-circuiting validation||11 Aug 2018|
|Aggregation of validation||04 Aug 2018|
|Recovery of validation types||28 Jul 2018|
|Basic validation||21 Jul 2018|
|Default includes and excludes for csproj||14 Jul 2018|
|Why we need better validation||07 Jul 2018|
|A question of struct performance||30 Jun 2018|
|Solving my Assembly Load Issues||23 Jun 2018|
|Troubleshooting Assembly Load Issues with the MSBuild Structured Log Viewer||16 Jun 2018|
|Troubleshooting Assembly Loading with the Assembly Binding Log Viewer||09 Jun 2018|
|Sharpen The Saw #37||04 Jun 2018|
|Converting projects to new csproj||02 Jun 2018|