Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Single assignment

Name: Anonymous 2014-03-15 5:30

In my earlier question about immutability, most answers assumed immutability meant only ``immutability of composite objects'' and not immutability of bindings.

So, what are the advantages, if any of single assignment (or, most accurately, run-time immutable bindings)?

I can't think of many other than ``I'm going to annotate this variable cause it really shouldn't change and if I accidently mess up I want the compiler to tell me''

Surely there are other reasons.

Name: Anonymous 2014-03-15 6:14


Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List