You are on page 1of 1

Explore What do you want Degrees Find your New Career Log In Join for Free

Computer Science and Engineering 5 Types of Programming Languages

5 Types of Programming Languages


Written by Coursera Sta • Updated on Nov 29, 2023 Share

Learn more about some common categories of programming languages to get inspired to start
coding.

Programming is a skill that is becoming increasingly sought after in the job market. Having at least a
basic understanding of how software functions is helpful for anyone who interacts with technology.
With a background in programming, you can get a job coding, designing software, data architecture,
or creating intuitive user interfaces.

But what language should you learn? You'll find a seemingly infinite number of programming
languages that are free to learn and develop projects with online. With the field of technology
growing exponentially each year, the internet is a great place to start when trying to explore the latest
developments or discover a new skill.

Whichever language you learn, you may find it helpful to take notes or draw diagrams detailing the
steps you're taking and why. It's important for programmers to be able to communicate their process
to non-technical stakeholders, but taking notes can also be a great learning tool. "Turns out this often
comes in handy not only for the sake of creating documentation, but often helps in solving a single
task or issue where the underlying tech is challenging to understand," offers Eric Hartzog, a software
engineer at Meta.

In this article, we'll explore some of the most common types of programming languages and give you
some resources you can use to start learning.

5 major types of programming languages


While you'll find dozens of ways to classify various programming languages, they generally fall into
five major categories. Keep in mind that some languages may fall under more than one type:

1. Procedural programming languages

A procedural language follows a sequence of statements or commands in order to achieve a desired


output. Each series of steps is called a procedure, and a program written in one of these languages
will have one or more procedures within it. Common examples of procedural languages include:

C and C++
Java
Pascal
BASIC

Average time: 4 month(s)


Specialization Learn at your own pace
Programming in C++: A Hands-on
Skills you'll build:
Introduction Computer Science, Computer
Hands-on Introduction to C++ Programming. Code and run your first C++ Programming, C++, Object-Oriented
program in minutes without installing anything! Programming (OOP), Iteration,
Conditionals, Variables, Strings,…
4.6 (839 ratings) 24,826 already enrolled Beginner level

Learn More

2. Functional programming languages

Rather than focusing on the execution of statements, functional languages focus on the output of
mathematical functions and evaluations. Each function–a reusable module of code–performs a
specific task and returns a result. The result will vary depending on what data you input into the
function. Some popular functional programming languages include:

Scala
Erlang
Haskell
Elixir
F#

Average time: 7 month(s)


Learn at your own pace
Specialization
Functional Programming in Scala Skills you'll build:
Scala Programming, Parallel
Program on a Higher Level. Write elegant functional code to analyze data
Computing, Apache Spark,
that's big or small
Functional Programming,
4.7 (6,882 ratings) 71,112 already enrolled Intermediate level Recursion, Higher-Order Function…

Learn More

3. Object-oriented programming languages (OOP)

This type of language treats a program as a group of objects composed of data and program
elements, known as attributes and methods. Objects can be reused within a program or in other
programs. This makes it a popular language type for complex programs, as code is easier to reuse and
scale. Some common object-oriented languages include:

Java
Python
PHP
C++
Ruby

Average time: 6 month(s)


Learn at your own pace
Specialization
Object Oriented Programming in Java Skills you'll build:
So ware Engineering, Data
Grow Your Portfolio as a So ware Engineer. Learn about Object Oriented
Structure, Computer Programming,
Design in four project-based courses.
Data Analysis, Algorithms, Problem
4.6 (3,822 ratings) 98,744 already enrolled Beginner level Solving, Hash Table, Debugging,…

Learn More

4. Scripting languages

Programmers use scripting languages to automate repetitive tasks, manage dynamic web content, or
support processes in larger applications. Some common scripting languages include:

PHP
Ruby
Python
bash
Perl
Node.js

Average time: 1 month(s)


Course Learn at your own pace
Hands-on Introduction to Linux
Skills you'll build:
Commands and Shell Scripting Shell Script, Bash (Unix Shell),
This course provides a practical understanding of common Linux / UNIX shell Extract Transform and Load (ETL),
commands. In this beginner friendly course, you will learn about the Linux ... Linux, Linux Commands

4.7 (1,011 ratings) 78,265 already enrolled Beginner level

Learn More

5. Logic programming languages

Instead of telling a computer what to do, a logic programming language expresses a series of facts
and rules to instruct the computer on how to make decisions. Some examples of logic languages
include:

Prolog
Absys
Datalog
Alma-0

Other ways to classify programming languages


You'll find many more ways to categorize languages beyond the five listed above. Let's take a closer
look at there other ways you can think about programming languages:

Front-end vs. back-end languages

Front-end languages are primarily concerned with the ‘user’ aspect of the software. The front end
deals with all of the text, colors, buttons, images, and navigation that the user will face when
navigating your website or application. Anyone with a background in graphic design or art may be
more inspired to begin learning one of the front-end languages.

Some examples of front-end programming languages include:

HTML
CSS
JavaScript
React

Average time: 7 month(s)


Learn at your own pace
Professional Certificate
Meta Front-End Developer Skills you'll build:
HTML, UI/UX design, JavaScript,
Launch your career as a front-end developer. Build job-ready skills for an in-
Cascading Style Sheets (CSS), React,
demand career and earn a credential from Meta. No degree or prior
Web Development Tools, HTML and
experience required to get started.
CSS, Responsive Web Design, Fro…
4.7 (14,000 ratings) 238,924 already enrolled Beginner level

Learn More

Back-end languages deal with storage and manipulation of the server side of software. This is the
part of the software that the user does not directly come into contact with but supports their
experience behind the scenes. This includes data architecture, scripting, and communication
between applications and underlying databases.

Anyone with experience in mathematics or engineering may find more interest in back-end
development.

Some examples of back-end programming languages include:

JavaScript
PHP
Java
Python
Ruby
C#

Average time: 8 month(s)


Learn at your own pace
Professional Certificate
Meta Back-End Developer Skills you'll build:
Computer Programming, Django
Launch your career as a back-end developer. Build job-ready skills for an in-
(Web Framework), Python
demand career and earn a credential from Meta. No degree or prior
Programming, Application
experience required to get started.
Programming Interfaces (API), Clo…
4.7 (4,402 ratings) 68,150 already enrolled Beginner level

Learn More

A full-stack developer combines their knowledge of both front- and back-end languages, along with
other technical skills and expertise, to work on any part of the development process.

Average time: 4 month(s)


Learn at your own pace
Professional Certificate
IBM Full Stack Software Developer Skills you'll build:
Git (So ware), Cloud Applications,
Prepare for a career as a full stack developer. Gain the in-demand skills and
HTML, Cloud Computing,
hands-on experience to get job-ready in less than 4 months. No prior
Distributed Version Control (DRCS),
experience required.
open source, JavaScript, Hybrid…
4.5 (5,043 ratings) 68,741 already enrolled Beginner level

Learn More

High-level vs. low-level languages

The biggest factor that differentiates high- and low-level programming languages is whether the
language is meant to be easily understood by a human programmer or a computer. Low-level
languages are machine-friendly, which makes them highly efficient in terms of memory usage but
difficult to understand without the help of an assembler. Since they're not very people-friendly
because they don't use human language, they're also not widely used to code. Examples of these
machine languages include machine code, binary code, and assembly languages.

High-level languages, on the other hand, are less memory efficient but much more human-friendly.
This programming style makes it easier to write, understand, maintain, and debug. Most popular
programming languages in use today are considered high-level languages.

Interpreted vs. compiled languages

The distinction between interpreted and compiled languages has to do with how they convert high-
level code and make it readable by a computer. With interpreted languages, code goes through a
program called an interpreter, which reads and executes the code line by line. This tends to make
these languages more flexible and platform independent.

Examples of interpreted languages include:

Python
JavaScript
PHP
Ruby

Compiled languages go through a build step where the entire program is converted into machine
code. This makes it faster to execute, but it also means that you have to compile or "build" the
program again anytime you need to make a change.

Examples of compiled languages include:

C, C++, and C#
Rust
Erlang

Markup language

Often, markup languages such as Hypertext Markup Language (HTML) are classified as programming
languages. Technically, markup languages are not considered to be the same as programming
languages. Instead, they are text-encoding systems made up of symbols that control the formatting
and structure of content on a page or document.

Learn to code on Coursera


Learning to program is easier now than ever. Start writing programs in Python with Python for
Everybody from the University of Michigan, learn the basics of web development with HTML, CSS, and
JavaScript for Web Developers from Johns Hopkins University, or prepare for a career in IT with
Google IT Automation with Python.

Average time: 8 month(s)


Learn at your own pace
Specialization
Python for Everybody Skills you'll build:
Json, Xml, Python Programming,
Learn to Program and Analyze Data with Python. Develop programs to
Database (DBMS), Python Syntax
gather, clean, analyze, and visualize data.
And Semantics, Basic Programming
4.8 (209,037 ratings) 1,589,722 already enrolled Beginner level Language, Computer Programmin…

Learn More

Average time: 1 month(s)


Course Learn at your own pace
HTML, CSS, and Javascript for Web
Skills you'll build:
Developers HTML, JavaScript, Css Frameworks,
Do you realize that the only functionality of a web application that the user Cascading Style Sheets (CSS)
directly interacts with is through the web page? Implement it poorly and, to
...

4.7 (15,979 ratings) 1,062,782 already enrolled

Learn More

Average time: 6 month(s)


Learn at your own pace
Professional Certificate
Google IT Automation with Python Skills you'll build:
Configuration Management, Python
Learn in-demand skills like Python, Git, and IT automation to advance your
Programming, Using Version
career
Control, Troubleshooting &
4.8 (35,704 ratings) 653,464 already enrolled Beginner level Debugging, Automation, Basic…

Learn More

Keep reading

Easiest Programming Languages to Learn for What Programming Language Should I Most Popular Programming Languages in
Front-End Development Learn? 2024
November 29, 2023 November 29, 2023 November 21, 2023

Should You Learn Object-Oriented 8 Types of Coding Jobs (+ Tips to Get Hired) Java vs. C++ Comparison: What Are the
Programming Languages? 5 min read · November 29, 2023 Di erences in These Programming
5 min read · November 29, 2023 Languages?
November 21, 2023

Updated on Nov 29, 2023 Share

Written by:
Coursera Staff
Editorial Team
Coursera’s editorial team is comprised of highly experienced professional editors, writers, and fact...

This content has been made available for informational purposes only. Learners are advised to conduct additional research to
ensure that courses and other credentials pursued meet their personal, professional, and financial goals.

DeepLearning.AI

New! “Generative AI for Everyone” Save $200 from your annual


Course subscription
Discover how you can use generative AI to take your career For a limited time, you can get a Coursera Plus annual
to new heights subscription for $200 o for your first year!

Enroll today Save now

Popular AI Content Popular Programs Popular Skills Popular Career Resources


AI For Business Specialization (Penn) Google Cybersecurity Professional Cybersecurity Courses Become a Data Analyst
Certificate
AI For Everyone Course (DLAI) Data Analysis Courses CAPM Certification Requirements
Google Data Analytics Professional
AI Product Management Data Science Courses Cybersecurity Career Paths
Certificate
Specialization (Duke)
Digital Marketing Courses Data Analyst Career Guide
Google Digital Marketing & E-
Deep Learning Specialization (DLAI)
commerce Professional Certificate Excel Courses Essential IT Certifications
Generative AI for Everyone Course
Google IT Automation with Python Google Courses High-Income Skills Worth Learning
(DLAI)
Professional Certificate
Power BI Courses How to Get a PMP Certification
Generative AI Fundamentals
Google IT Support Professional
Specialization (IBM) Product Management Courses Popular Cybersecurity Certifications
Certificate
Generative AI with LLMs Course (DLAI Project Management Courses Popular Data Analytics Certifications
Google Project Management
& AWS)
Professional Certificate Python Courses Popular PMI Certifications
IBM Applied AI Professional
Google SEO Fundamentals SQL Courses Popular SQL Certifications
Certificate
Google UX Design Professional See All Courses See All Career Resources
Machine Learning Specialization
Certificate
(Stanford)
Intuit Academy Bookkeeping
NLP Specialization (DLAI)
Professional Certificate
Prompt Engineering for ChatGPT
Python for Everybody Specialization
Course (Vanderbilt)
UI / UX Design Specialization
Supervised Machine Learning Course
(DLAI)

See All AI Courses

Coursera Community More


About Learners Press

What We O er Partners Investors

Leadership Beta Testers Terms

Careers Translators Privacy

Catalog Blog Help

Coursera Plus The Coursera Podcast Accessibility

Professional Certificates Tech Blog Contact

MasterTrack® Certificates Teaching Center Articles

Degrees Directory

For Enterprise A iliates

For Government Modern Slavery Statement

For Campus Manage Cookie Preferences

Become a Partner

Coronavirus Response

Social Impact

© 2024 Coursera Inc. All rights reserved.

You might also like