isagalaev ("Ivan Sagalaev") wrote:
Wasting the second day in a row wrestling with validation schemas. Programmers are infatuated with schemas, because playing with them feels so cool: you dump some input and it magically produces structured data! But the harsh reality is, their boilerplate-to-provided-value ratio is very, very low on average. Most of the time you're just piling more maintenance burden on yourself, having to specify things like "this 'customer' is a string var `customer` which we pass further on as 'customer'".