28Jul/0814
A Better ‘nub’
During my Haskell travels I have found myself using the nub function quite regularly. For those too lazy to click the link: nub removes duplicates from a list of items. eg:
Prelude> nub [1,1,3,3,5,5,6,6,6,1] [1,3,5,6]
Fairly simple stuff. Until recently I hadn't bothered pondering the internal implementation of this function because I hadn't really been too worried about performance. That's no longer the case. I recently cracked open the hood of nub, and was rather surprised by what I saw.
21May/085
How do you Interact with your ViewState?
There comes a time in every ASP.NET developer's life when the need arises for information to be persisted into ViewState. For the sake of this post I'm not really interested in the reasons why. What I am interested in is how.
How do you interact with your ViewState?