Immutability, part 2: Creating a simple immutable stack. Posted on Sunday, June 23, 2013. Last time, I explained the basic meaning of immutability. The simplest useful example of an immutable class is an immutable stack. Immutable stacks work just like regular stacks – with Push() , Pop() , and ...
No comments:
Post a Comment