The most efficient way of learning a new programming language.
Whether you are new to programming or are an intermediate programmer that already know a language or two. This article will teach you a more efficient way of learning a new programming language. Although this article applies to most high level or medium level programming languages it can also be applied to low level languages.
Knowing the fundamental of a programming language
Most programming languages usually have similar functions, but are written in different ways and learning those functions will increase the likelihood of learning the new language faster.
Fundamental things to think about when learning a new language:
- Printing out statements
- Creating and declaring variables
- Data types(String, integers, float, Characters, booleans)
- Comments
- If else statements
- For loops
- While loops
- Functions
- Switch loops
- Classes(if language is OOP)
- Arrays
- Mathematical operations(generating random number, minimum number, logarithms, square root, date and time)
Stick to learning those and you will build a sturdy foundation for your newly acquired knowledge.
Types of project to work on
Working on a new project after learning the basics is quite a fun and efficient way to consolidate your new found knowledge.
Here is some project to work on:
- Rock paper scissors game
- Text to speech
- Random number generator
- Basic calculator
- Image viewer
- Random quote dispenser
- Chat bot
- Discord bot(Some programming language will support discord API)
I’ve created all of those projects, and it would be worth your time check out my GitHub page for reference
When learning a new programming language, both smart and hard work are require in order to succeed, so it’s wise to analyze code as well as putting in the effort to build a project. I hope those tips were helpful in guiding your journey and thanks for reading this page.