Learning programming language

It depends a great deal on where you are in your studies.

Do you already have a grasp of programming constructs from another language or are you starting here?

People often tackle languages both natural and computer by learning the rules. IMO there is some value to that but it’s often more useful to learn examples of the language in use. It’s more useful to memorize an example of a for loop in action and then take up all the fiddly syntax later as needed.

Some people encode syntax verbatim as a string of characters. I draw sketches. I use sketches also to capture abstract concepts.

Here’s a sketch I did for the Object oibject in Javascript.

That thread is very rich in ideas for memory structures.

3 Likes