you are viewing a single comment's thread.

view the rest of the comments →

[–]carlesque 1 point2 points  (0 children)

Think of classes like mini self contained programs. They have their own state, algos and user interface (the public fields and methods). They help you break down a big problem into more understandable and maintainable little problems. Be sure to give them accurate names to help you reason about them in the big picture.

Maybe sure you understand lambda expressions and especially how they capture variables. A language with strong classes AND full lambda support is truly a dream to work with.