News for hackers. Stuff that matters.
Re:A few tips for Web API design by wlievens on Wednesday December 22, 2010 @09:06AM (#2031325)
Exactly. I like how you threw binding in there too; I use schema languages (such as XSD) for binding at least as much as for validation. Maybe it's because I program in a statically typed language, but I really apprecicate the value of schema's and related tools - even while acknowledging the schema languages themselves can be messy and imperfect.
Re:A few tips for Web API design by vhackish on Wednesday December 22, 2010 @12:21PM (#2031788)
I sort of like schema validation, but it makes it a pain to add things to your objects later if clients of your API are depending on that (they will break when you add something).