Pascal is a programming language that has had a significant impact on the world of technology and education. It was created by Niklaus Wirth in the late 1960s and was named after the French mathematician Blaise Pascal. Initially based on the ALGOL 60 language, Pascal expanded its data structuring abilities, allowing developers to build dynamic recursive data structures like trees and graphs. It gained popularity when it became the language of choice on the Apple 2, Lisa, and Macintosh computers, and eventually became the default high-level language on nearly every PC.
Over the years, Pascal has evolved into a variety of dialects, with one of the most famous being Turbo Pascal, created by CP creator Anders Hejlsberg. Turbo Pascal was one of the first languages with its own full-screen IDE, and in 1983, you could buy a copy at Circuit City for only $49.99, making it a great deal at the time. Pascal was extensively used in education to teach people how to code, but it was also used to build serious desktop applications and games such as Crisis Mountain, Gravity Wars, and IBM’s Alley Cat.
In modern times, Pascal’s popularity has declined, but Pascal dialects like Delphi are still in use today, and developers might find its syntax surprisingly familiar. To get started with Pascal, you can install a compiler like the Free Pascal Compiler and create a file ending in .pas. Alternatively, you can use a dedicated IDE like Lazarus.
In Pascal, the `program` keyword is used to define the main entry point for the application. The `begin` and `end` keywords with a period execute the actual code in the program, similar to the `main` function in many other languages. The built-in `writeln` function can be used to say “Hello, World!”.
Pascal is a procedural language, meaning that instructions are executed in a linear sequence one after the other. The `const` keyword is used to define immutable global data, while the `var` keyword is used to define values that might change throughout the execution of the program. Variables are strongly typed using a syntax that looks almost identical to TypeScript.
The main program can be organized into subprograms, which include functions and procedures. Functions return a value, while procedures are used to execute code or create side effects. Conditional logic can be used within functions to determine a value, which can then be returned from the function.
Pascal is also well-suited for complex data structuring. Custom types, such as records (key-value pairs or dictionaries in other languages), can be created, assigned to variables, and used to create and access records’ fields with notation.
Once all the code is in place, the executable can be built with the compiler. This has been a brief overview of Pascal, a procedural high-level programming language that has left a lasting impact on the world of technology and education. Thank you for reading, and I hope you found this information helpful.
make more videos like this! we are tired of the AI thing!
This looks just like pl/sql lol
the fastest made executable I've ever seen
My school is still teaching this fosil
pls make video about Basic Language
In Russia we still learn this language at schools
Why does that syntax look so similar to fortran?
BASIC in 100 seconds? Please?
Love it. Fire 🔥🧨🎆🥵🧯🚒🧑🚒👨🚒
OH! Turbo Pascal!
My first Programming Language ❤
This brings back a lot of memories. It was my first programming language and watching this reminds me that I'm old now 🙁
RIP Niklaus Wirth
“Trees and Graphs” tho
Expecting to learn about Pedro Pascal, very disappointed…
I see this copied a lot of ideas from Rust !
my first programming language that I've learned
Please make Maxima in 100 sec
OCaml in 100 seconds??
Imagine buying a programming language for 49.99 dollars. I can't Imagine paying for all the programming languages I use.
it's still the best for teaching.
I recognize Oracle PL/SQL syntax when I see one.
you should do fortran. That is a language that shaped humanity.
its still the best for learning the basics of programming.
Turbo Pascal was poised to take over the world at some point.
Which vs code theme and font you are using??
I learned programming with this language. I love it.
begin, end makes more sense than {, }
You should do BASIC in 100 seconds next
Quite similar to FORTRAN, which is quite interesting. Likely due to both being in the UNIX era in the late 60s/70s. (At least from what I know.)
Plese do scala next 🙂
@Fireship
The word "algorithm" can be traced back to the 9th century when it was coined by the Persian mathematician Abdullah Muhammad bin Musa al-Khwarizmi, who is often referred to as "The Father of Algebra." The term is the Latinization of his name, which meant 'the native of Khwãrezm' in Persian, and it gave English the word "algorithm".
The concept of algorithms, however, has a long history dating back to ancient civilizations, with the earliest evidence of algorithms found in the Babylonian mathematics of ancient Mesopotamia around 2500 BC.
Therefore, while the term "algorithm" has its etymological origin in the work of al-Khwarizmi, the concept and practice of algorithms have been used for millennia across various cultures and civilizations.
so many good memories… thanks!
Pascal was extremely popular in exUSSR education circles. I've tried to learn it in school but failed due to my late transfer to class with IT. But in university I quickly catched up. It was back in 2008.
For the record, OOP was introduced in turbo pascal almost in the same period C++ was introduced with OOP, so technically pascal is almost like C++ in terms of how a C++ programmer think but with more clean and clear coding enforcement
Excluding BASIC on the C64 (used mostly for games), Pascal was my first real programming language, learned in college. We were even taught to write pseudo code to design our programs before coding them in Pascal – no joke. I loved Pascal and its simplicity. Things only became confusing when I started my BSc in Software Engineering and my first C++ teacher was called … Pascale.
Please Fireship. Do ActionScript in 100 seconds, code known for the Flash Player software.
my first programming language.
Some nice flashbacks, and entertaining to see a VT320 at 48secs in being pawed as though it was a touchscreen (it was not).
Please make a video on Vala in 100 seconds.
I don't remember using types with turbo pascal, but I do remember that the structured paradigm blew my mind coming from BASIC's numbered lines and its GOTO loops. I enjoyed it a lot. That was long time ago. Thanks for the video
Will you believe me if i told you that there is universities that still teaching Pascal today ?
1:55 This is incorrect syntax, the function has no specified return type.
Students in Russia still use Pascal for algo curses 😢
also, the first Tetris game was created in Pascal by Pajitnov
Pascal is the GOAT. It is a high-level language with very clear and understandable syntax, and yet it has C-like pointer arithmetics and compiles to efficient machine code within milliseconds. I believe, the only reason for pascal's downfall was a lacking standard library. Its creators believed that programmers should know how to implement basic algorithms, while c++ and java were shipped with tons of helper classes and thus were accessible to code monkeys.
Did you change your microphone? Either that, or you are generating your voice through ai 😉 Or I am slowly becoming deaf…. Either way, still great content!
Rest in piece Mom.
Mom's need to be remembered too!
Finally, my beloved pascal.
Please do Elm in 100 seconds next! It hasn't gotten the love it deserves in a while.