| I'm fairly certain the comment you are replying to isn't talking about "generics" but "Generics" with a capital _G_. This bit, > while a sum type implementing functor with a record data constructor that contains a Maybe SSN is not indicates Hickey was talking about Haskell's type system, where you in fact can derive a Functor for you data type by using Generics. > + that he can transport them between environments, possibly remotely, possibly written in different programming languages There exist tools to generate types between languages. > only the producer and consumer of changes to the structure are affected by the change. If your function doesn't alter the data type, it needs no info on the structure of it. Perhaps you can expand on what you meant here? EDIT: Ehrm, why the downvotes? If you disagree with the above, explain what. |
When I think about the popular tools for moving data around large open system: the message queues, key-val stores, pub-subs, etc. --- it seems to me that the idea moving and communicating about types and objects over wires has largely been a dud. Thinking RMI, OODBs, etc. It's just hard to get other people (tools, services) to care about how you've decided to organize the entities in your program. It's a lot of work, and the benefits over throwing mostly "plain" data may not be compelling enough.
Again, I keep coming back to his term "parochialism" and why he's focused on it. I think it's an under-appreciated point amongst all the language wars.