You can still have an update anomaly in an append-only setting. Teacher changes name (by submitting a change-of-name form) - now you need to replace all the class lists.
Immutability Changes Everything [pdf]
11–20 of 26 posts
Re: Immutability Changes Everything [pdf]
#12Re: Immutability Changes Everything [pdf]
#13"Accountants Don’t Use Erasers" I was about to say 'scientist too' but they do use chalkboard erasers... only when cons cells aren't reachable anymore though.
Re: Immutability Changes Everything [pdf]
#14Re: Immutability Changes Everything [pdf]
#15> "Normalization’s goal is to eliminate update anomalies. Normalization is not necessary in an immutable data set. The only reason to normalize immutable DataSets may be to reduce the storage necessary." You can still have an update anomaly in an append-only setting. Teacher changes name (by submitting a change-of-name form) - now you need to replace all the class lists.
Re: Immutability Changes Everything [pdf]
#16the CAP theorem only applies when dealing with mutable shared state. that's reason enough to go immutable.
Re: Immutability Changes Everything [pdf]
#17the CAP theorem only applies when dealing with mutable shared state. that's reason enough to go immutable.
Re: Immutability Changes Everything [pdf]
#18> "Normalization’s goal is to eliminate update anomalies. Normalization is not necessary in an immutable data set. The only reason to normalize immutable DataSets may be to reduce the storage necessary." You can still have an update anomaly in an append-only setting. Teacher changes name (by submitting a change-of-name form) - now you need to replace all the class lists.
the class list would be rendered by looking up the teacher's name. a rendering can be cached with a timestamp (it was valid as of this time) and then the most recent render can be stored. by setting a dirty flag whenever data changes, you can update dependencies when they are fetched and then memoize the results.
Re: Immutability Changes Everything [pdf]
#19the CAP theorem only applies when dealing with mutable shared state. that's reason enough to go immutable.
Re: Immutability Changes Everything [pdf]
#20> "Normalization’s goal is to eliminate update anomalies. Normalization is not necessary in an immutable data set. The only reason to normalize immutable DataSets may be to reduce the storage necessary." You can still have an update anomaly in an append-only setting. Teacher changes name (by submitting a change-of-name form) - now you need to replace all the class lists.