3 ms·
I think it is an allusion to the story of Cinderella [0], some versions of which have her carriage transforming (back) into a pumpkin at midnight. I see the im
by mrow84 10y ago
I think it is an allusion to the story of Cinderella [0], some versions of which have her carriage transforming (back) into a pumpkin at midnight.
I see the implication being that when all is said and done, functional programs are really just imperative programs in disguise (I don't have an opinion on the matter).
[0] https://en.wikipedia.org/wiki/Cinderella#Cendrillon.2C_by_Perrault https://en.wikipedia.org/wiki/Cinderella#Cendrillon.2C_by_Pe...
- yrashk 10y agoYes, that's the allusion! The implication was that rather systems composed of functional programs but non-functional databases are not functional (i.e. the functional components are dwarfed by the imperative nature of mainstream databases)
- nickbauman 10y agoThis pumpkin analogy goes away when you consider a a functional database is one where only writes and reads happen (no updates). Indeed this is what functional means: And object is distinct from its state because, in the real world, we do not consider what something is to be the same as what happens to it. Imperative programming locks the two together inseparably. Imperative is where we are merely the accretion of what happens to us. We have no history and no future.