The main reason why people struggle to learn programming is inconsistency.
Many individuals start learning programming but tend to become lazy or lose motivation when it comes to implementing their knowledge.
To overcome this, it is recommended to find a supportive and motivating environment, such as a library or co-working space, where you can see others working and stay inspired.
Being in a dedicated learning environment helps individuals stay focused, dedicated, and grasp programming concepts more effectively.