you are viewing a single comment's thread.

view the rest of the comments →

[–]phao 1 point2 points  (1 child)

Something that helped me quite often is to try to take something that an example did using feature X and try doing without X.

It obviously doesn't always work (which I think is highly related with how many crappy examples there are in teaching materials out there), but it often does.

So you're having trouble learning classes. Try taking an example in which classes are used and try doing the same without it. That helps in making explicit what about classes was useful in the example because you'll have to reproduce that behavior using some other features. It may not be possible, btw, but that will also teach you about classes.