Fork me on GitHub
#admin-announcements
<
2015-08-10
>
martinklepsch09:08:09

Hi @rcarmo 👋

scriptor20:08:55

does anyone have a list of concrete examples of the advantages of immutability

scriptor20:08:00

outside of concurrency?

andrewhr20:08:00

@scriptor: short answer: reasoning

scriptor20:08:37

andrew: yes, but that's not a concrete example

scriptor20:08:52

I'm not looking to be convinced myself

scriptor20:08:16

I'm mainly looking for a set of code samples that I can toy around with using my own ideas

andrewhr20:08:26

mutability could create implicit dependencies between different components, caused by ordering requirements invisible to code signatures for example. Immutability avoids that

scriptor20:08:36

I've already read plenty of prose explanations

andrewhr20:08:28

crafting some example around this idea would be a good demonstration of the issue

andrewhr20:08:57

do you thing it's good? are you looking for something else?

alexmiller20:08:07

Rich's "value of values" talk

scriptor20:08:54

awesome, thanks

scriptor20:08:33

I'm mainly looking for "here's some code that likely looks familiar to you, here're the problems it can cause"

alexmiller20:08:01

just take any java code you find on the net then :)

dottedmag21:08:25

scriptor: Most of the large codebases written and maintained by the teams with some turnover over time can be used, but I'm not aware of explicit "here are the problems" characterisations, those are usually only felt by the team members, not externalized.