There isn’t one official list of the 20 most important programming languages. Rankings such as the TIOBE index and the Stack Overflow Developer Survey use different methods and change over time. The list below is 20 languages that are widely used, with a short note on what each is known for. It isn’t in rank order.
Twenty widely used languages
- Python: general-purpose, with strong use in data analysis, scripting and machine learning.
- JavaScript: the language of web browsers, and of servers through Node.js.
- TypeScript: JavaScript with static typing added.
- Java: large enterprise systems and back-end services.
- C: operating systems, embedded software and other low-level work.
- C++: performance-heavy software, including games and large applications.
- C#: Windows and enterprise software, and games built with Unity.
- Go: network services and cloud infrastructure tools.
- Rust: systems programming with a focus on memory safety.
- Kotlin: Android apps and back-end services on the Java Virtual Machine.
- Swift: apps for Apple platforms such as iOS and macOS.
- PHP: server-side web applications, including many content management systems.
- Ruby: web applications, especially with the Ruby on Rails framework.
- R: statistics and data analysis.
- Scala: large-scale data processing on the Java Virtual Machine.
- Dart: apps built with the Flutter framework.
- Haskell: functional programming, research and teaching.
- Lua: scripting, often embedded in games and other software.
- Julia: scientific and numerical computing.
- SQL: querying and managing relational databases. It is a query language rather than a general-purpose one.
Choosing among them
You don’t need all 20, and your goal matters more than any list. Python and R suit data work, JavaScript and TypeScript suit web front ends, and Swift and Kotlin suit mobile apps. SQL covers databases. Python is also a common choice for scripts that talk to a database, where a typical task is learning how to pass a variable in sql query in python.