News for hackers. Stuff that matters.
Re:The Haskell / Snap ecosystem is as productive (or more) t... by riffraff on Friday April 27, 2012 @08:51AM (#3898791)
how would a nominally different string type be better than wrapping the string ?

I mean I understand why having a Name, ZipCode or UUID stringish class helps ensure program correctness, I do not understand (out of ignorance) how it would improve your code vs a wrapper.

Re:The Haskell / Snap ecosystem is as productive (or more) t... by masklinn on Friday April 27, 2012 @12:41PM (#3899871)
> how would a nominally different string type be better than wrapping the string ?

* It is significantly less verbose, therefore simpler and more likely to be used at all. And less error-prone

* It can provide string APIs working on itself (either by default or through the aliasing declaration) precluding the need to manually re-implement things like comparisons or printing