Spreadsheets are so beautiful! Cells can be linked on top of each other and if any formula / value / whatever changes in one of the cells everything updates correctly!
Does anyone know the general concept on how spreadsheets do this? What I'm talking about is if A1 = 1, A2 = 2 and A3 = A1+A2. Then I change A1 or A2 and A3 knows to update and does it correctly. Of course it can't update it wrong in this example but in more complicated examples it has to update "lower" cells first before updating things built on top of it.
When programming myself I am having such a hassle of updating everything correctly after the underlying data changes. Sometimes not everything has to be updated so I don't want to update everything. It's just a mess.
I hope my tags are correct, and that discussions like these are allowed. Thanks!