Programming Languages
Programming Languages
INTRODUCTION
I. Conceptual clarification
CONCLUSION
References
INTRODUCTION
I- CONCEPTUAL CLARIFICATION
A. Program:
B. Language:
C. Programming Language:
✓Origins
Programming languages date back to the 19th century with Ada Lovelace, who
wrote the first algorithm for Charles Babbage's Analytical Engine, considered the
first programmable computer. However, the first high-level languages, such as
Konrad Zuse's Plankalkül (1942-1945), appeared in the mid-20th century, with
FORTRAN (1956) being the first commercially available language.
✓The Computer Age
In the 1950s and 1960s, languages such as COBOL (1959) for business and Lisp
(1958) for functional programming were created. BASIC, released in the 1960s,
was intended for teaching, and Pascal popularized structured programming.
✓Modern Evolution
Since the 1970s, concepts like object-oriented programming have emerged with
Smalltalk and C++. The 1990s saw Java and JavaScript become essential,
respectively for enterprise and web applications. Recently, Python and Ruby have
emerged for their simplicity, and languages like Swift and Kotlin for specific
platforms.
1. Level of abstraction
The level of abstraction is about how "close" a language is to the computer’s own
language (0s and 1s) versus how "human-friendly" it is.
A. Low-Level Languages
These are super close to what the computer understands, like giving it exact
orders with binary codes used directly by the CPU.
Example: Assembly : You tell the computer step-by-step what to do with its
memory and processor, like "move this number here, add that there."
B.High-Level Languages
These feel more like talking to a friend; they hide the complicated détails.
Example: Python: You write print("Hello"), and it just works, no need to worry
about how the computer shows the text.
✓Desavantages: You lose some control, and it might not be as fast as low-level
stuff.
2.Paradigms of Programming
A "paradigm" is like a style or a way of thinking about coding, it’s how you tell the
computer what to do.
A. Imperative:
You give a list of steps, like a recipe: "Do this, then that."
B. Object-Oriented:
You organize your code into "objects" (like little building blocks with data and
actions).
Example: Java – You might make a "Car" object that can "drive" or "stop."
✓Advantage: Big projects where you want reusable pieces, like games or apps.
C.Functional:
It’s all about using math-like functions, avoiding changes to data once it’s set.
Example: Haskell – You write functions like double x = x * 2 and chain them
together.
D. Logic:
You set rules, and the computer figures out the answer—like a puzzle solver.
Example: Prolog – You say "X is a parent if X has a child," and it finds who fits.
Some programming languages are used more than others because they are useful
in many areas:
✓Python: Used for artificial intelligence, data science, and web development.
B. Comparisons
1. Python:
3. JavaScript:
4. C++:
✓Python is favored for its simplicity and versatility, making it ideal for beginners
and rapid application development.
A. Web Development
- Python: Backend frameworks like Django and Flask for server-side development.
B. Artificial Intelligence
C. Mobile Applications
- Java: Primary language for Android app development.
A. Emerging Trends
✓Cloud Computing:
- Increased need for languages that enable seamless integration with cloud
services ( Python for data science in cloud environments).
CONCLUSION
References:
Artificial intelligences
Assistants