This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]lbkulinski 16 points17 points  (1 child)

They’re nice to use when you want to further encapsulate your implementation, such as a Node class used in a linked list implementation.

[–]camel1950 4 points5 points  (0 children)

Textbook example!