News for hackers. Stuff that matters.
Re:String types are fine. How about your code? by chrismorgan on Thursday November 28, 2013 @08:04AM (#6814332)
String typing, or stringly typed interfaces (parody of strong typing) is a phrase in common use.

HTTP is a good example of something normally using string typing; most web servers treat headers, for example, as text, rather than as data, and so you end up with a lot of invalid stuff because of misunderstandings about what the values actually are or how they should be interpreted or written.

That's a trap that I'm dodging in rust-http; in there, (known) headers are data, serialised to text only for transmission, not text. (I'll freely admit, however, that this is an approach I would never take in Python; I'm confident it would lead to more errors than the alternative.)

Re:String types are fine. How about your code? by coolsunglasses on Thursday November 28, 2013 @10:17PM (#6817718)
Have you looked at how Happstack leverages the type system?