Most Fashionable Programming Language for Studying to Code in 2024
Stack Overflow’s 2024 Developer Survey simply dropped, with Python rating the most well-liked programming language amongst individuals studying to code. This discovering tracks with our Codecademy group’s style: Our Be taught Python 3 course is the hottest in our catalog, which means it’s the course learners go to and enroll in essentially the most.
Thousands and thousands of skilled builders and newbies select Python. This yr, the annual Stack Overflow Developer survey checked out over 65,000 responses from individuals in 185 international locations. Most respondents are full-time skilled builders, however the survey additionally consists of individuals studying to code, hobbyists, and folk who write code typically as a part of their work or research.
Be taught one thing new free of charge
Why Python is the most well-liked language for learners
Survey members have been requested to call the programming, scripting, and markup languages they’ve in depth expertise with, and choose those they’d prefer to preserve working with. Within the class of people who find themselves studying find out how to code, 66% mentioned they like Python essentially the most.
People in the beginning of their studying journey gravitate in direction of Python since its syntax is obvious, concise, and reads like plain English. The creator of Python, Guido Van Rossum, deliberately designed the syntax so {that a} whole beginner may simply grasp new programming ideas. Right here’s a Python code snippet for a program that calculates the factorial of a quantity. Check out the simple syntax:
def factorial(n):
if n == 0:
return 1
else:
return n * factorial(n - 1)
# Instance utilization
quantity = 5
consequence = factorial(quantity)
print(f"The factorial of {quantity} is {consequence}")
One other Python perk is its versatility throughout net improvement, machine studying, knowledge science, and monetary evaluation. If you’re first studying to code, you might not know which programming area pursuits you essentially the most. With Python, you may go in studying the fundamentals of net dev and have the pliability to increase to knowledge evaluation and machine studying afterward.
The survey responses from skilled builders have been barely completely different than the group of learners, with 65% claiming JavaScript as their favourite adopted by SQL, HTML/CSS, after which Python. Skilled builders typically use a number of completely different languages primarily based on their group’s tech stack or their very own experience and job duties. When you’re an expert developer trying to refine your expertise in one in all these languages, you’ll want to try our intermediate and superior programs.
Extra programming languages for studying to code
So, what are the opposite programming languages that individuals (such as you!) studying to code rank extremely? Listed here are the most well-liked programming, scripting, and markup languages, in line with those that are studying to code (plus beginner-friendly programs to get you began):
Python
Attempt it: Be taught Python 3
HTML/CSS
Attempt it: Be taught HTML, Be taught CSS
JavaScript
Attempt it: Be taught JavaScript
Java
Attempt it: Be taught Java
C++
Attempt it: Be taught C++
SQL
Attempt it: Be taught SQL
C
Attempt it: Be taught C
Bash/Shell
Attempt it: Be taught the Command Line
TypeScript
Attempt it: Be taught TypeScript
C#
Attempt it: Be taught C#
When you’re overwhelmed by all of those languages to select from, the free Codecademy course Selecting a Programming Language may also help discover the correct match for you. We’ll cowl key components and information you to the perfect Codecademy programs and talent paths.
Begin studying Python in the present day
Able to take the Python plunge? We suggest kicking issues off with our introductory course Be taught Python 3, then taking the free course Getting Began with Python for Information Science for hands-on expertise working with actual datasets in Python. If you wish to get into net improvement, strive Construct Python Net Apps with Django or Construct Python Net Apps with Flask. Discover our 130-plus Python programs and tasks to get a sampling of every part the language has to supply.
For extra in-depth findings, you’ll want to learn the total Stack Overflow 2024 Developer Survey.