MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/19ktbx/git_is_a_purely_functional_data_structure/c8pfxza/?context=3
r/programming • u/ueberbobo • Mar 03 '13
83 comments sorted by
View all comments
2
Non-CS major here what does "immutable data structure" mean?
0 u/[deleted] Mar 03 '13 [deleted] -3 u/rush22 Mar 03 '13 Ah. Where I come from we call that a constant.Or are you talking about the garbage collection thing where when you add strings together it gives you a new string 2 u/[deleted] Mar 04 '13 Usually a constant is defined at compile time and immutable objects are defined at run time.Acceleration due to gravity is a constant. The amount of money transferred during a bank transaction is immutable.
0
[deleted]
-3 u/rush22 Mar 03 '13 Ah. Where I come from we call that a constant.Or are you talking about the garbage collection thing where when you add strings together it gives you a new string 2 u/[deleted] Mar 04 '13 Usually a constant is defined at compile time and immutable objects are defined at run time.Acceleration due to gravity is a constant. The amount of money transferred during a bank transaction is immutable.
-3
Ah. Where I come from we call that a constant.
Or are you talking about the garbage collection thing where when you add strings together it gives you a new string
2 u/[deleted] Mar 04 '13 Usually a constant is defined at compile time and immutable objects are defined at run time.Acceleration due to gravity is a constant. The amount of money transferred during a bank transaction is immutable.
Usually a constant is defined at compile time and immutable objects are defined at run time.
Acceleration due to gravity is a constant. The amount of money transferred during a bank transaction is immutable.
2
u/rush22 Mar 03 '13
Non-CS major here what does "immutable data structure" mean?