3 ms·
In functional programming one should model change over time as a stream of immutable values, there is no "conceptual mutability" and no need for mutable variabl
by willtim 9y ago
In functional programming one should model change over time as a stream of immutable values, there is no "conceptual mutability" and no need for mutable variables.
- seanmcdirmid 9y ago"Things that change over time" = mutable. It's in the dictionary even.
- willtim 9y agoMathematics has successfully modelled change over time for hundreds of years without mutable memory cells in a computer. Please don't build software that mutates my data. I want history/provenance and reproducibility. I don't mind the odd bit of optimisation, but your use of the phrase "conceptual mutability" would have me worried if I was a customer of yours :)
- seanmcdirmid 9y agoI can give you all that with imperative mutation: https://www.microsoft.com/en-us/research/publication/programming-with-managed-time/ https://www.microsoft.com/en-us/research/publication/program... Of course, I'm a researcher who deals with this field daily, I'm not going to be your ideologue functional programmer who meets your ideological criteria for twisted language with a poor understanding of the wider field.
- willtim 9y agoLess of the insults please, I've spent most of my career trying to escape the 'wider field'. The way we choose to model the world is clearly very different.