News for hackers. Stuff that matters.
Re:On DRY and the cost of wrongful abstractions by jnordwick on Sunday September 18, 2016 @10:07PM (#12528335)
I'd normalize on instantiation. It is both a performance win, smaller code, and much simplier. Chanel names don't change so you dont have to keep them in sync in any real sense, and if they do, the setter has a very trival job of setting both the real and normalized name.
Re:On DRY and the cost of wrongful abstractions by unscaled on Monday September 19, 2016 @09:55AM (#12531458)
The nice thing with wrapping it in an abstraction, is that you can change or add optimizations without having to change the code EVERYWHERE.