Why is the mental model crucial for learning programming languages?
Mental models refer to our cognitive processes of how we anticipate the development of things or how things will operate. It may sound a bit academic. For example, when we see a button UI on the screen, we expect that this UI is clickable and that clicking it may trigger a series of events. Therefore, when users find that this UI is not as expected, they may feel confused.