Pascal in 100 Seconds

  Переглядів 528,798

Fireship

Fireship

День тому

Learn the basics of the Pascal in this quick tutorial. Find out why Turbo Pascal was one of the world's most popular programming languages. In memory of Pascal creator Niklaus Wirth, who passed away on Jan 1st, 2024
#programming #history #100secondsofcode
💬 Chat with Me on Discord
/ discord
🔗 Resources
Free Pascal Complier www.freepascal.org/
C in 100 Seconds • C in 100 Seconds
Fortran in 100 Seconds • FORTRAN in 100 Seconds
🔥 Get More Content - Upgrade to PRO
Upgrade at fireship.io/pro
Use code YT25 for 25% off PRO access
🎨 My Editor Settings
- Atom One Dark
- vscode-icons
- Fira Code Font
🔖 Topics Covered
- Pascal Programming basics
- How to get started with Pascal
- Who created pascal?
- What is Pascal used for?
- Pascal on Apple computers

КОМЕНТАРІ: 1 400
@sonmangaking
@sonmangaking 4 місяці тому
Rest in piece legend, programming languages creators need be remembered and known. Thanks Fireship
@stefanalecu9532
@stefanalecu9532 4 місяці тому
he should be known for more stuff like Modula-2 and Oberon (the language and the system) and inventing a lot of shit we take for granted nowadays
@lemonlordminecraft
@lemonlordminecraft 4 місяці тому
In the nicest way possible: rest in peace*, it’s an honest mistake
@tytyterrell
@tytyterrell 4 місяці тому
Agreed. I would add that a longer format is worthy @fireship
@norude
@norude 4 місяці тому
*Rust in peace
@Pixelcrafter_exe
@Pixelcrafter_exe 4 місяці тому
We are still using it in many german high schools as only programing language taught in CS courses xD
@wlockuz4467
@wlockuz4467 4 місяці тому
I love how its syntax feels oddly "modern"
@sweetink4453
@sweetink4453 4 місяці тому
I thought PASCAL would be some ancient shit, but this is much more readable than most js frameworks
@remcogreve7982
@remcogreve7982 4 місяці тому
Yes c was really strange but also very influential. Nice to see all those modern languages doing things the simple obvious way again.
@alkndeniz8799
@alkndeniz8799 4 місяці тому
I think it also because pl/sql uses similar syntax
@krzysztofrutkowski5481
@krzysztofrutkowski5481 4 місяці тому
It's because it was ahead of its time. Modern imperative languages steal a lot from pascal. And it's why we love them. Even if we didn't love the Pascal back in the school.
@vaiterius
@vaiterius 4 місяці тому
It was because of Pascal that it feels that way
@ThePouetman
@ThePouetman 4 місяці тому
The syntax doesn't look half bad actually, compared to some other old languages
@michalbotor
@michalbotor 4 місяці тому
exactly, it's a pleasure to read. can't say that about many other modern programming languages.
@hedwig7s
@hedwig7s 4 місяці тому
@@michalbotor Lua would like a word
@coder2k
@coder2k 4 місяці тому
@@hedwig7s Lua is one day late to the discussion....because of an off-by-one error.
@civilroman
@civilroman 4 місяці тому
@@hedwig7s ahh yes I love having to type a three letter word at the end of every function instead of just a bracket
@Gregorius421
@Gregorius421 4 місяці тому
@@coder2kThat hit hard.
@samplefx1
@samplefx1 4 місяці тому
Fun fact: FL Studio, a very popular digital audio workstation is written in delphi, a modern, object oriented version of pascal. (Also applies to early versions of skype!)
@punkweb
@punkweb 4 місяці тому
Did not know that, that's awesome
@anmolsharma4049
@anmolsharma4049 4 місяці тому
That's awesome, I always thought FL was written in c++
@piotralex5
@piotralex5 4 місяці тому
and ironically Dev-C++ IDE was made in Delphi
@MladenMijatov
@MladenMijatov 4 місяці тому
TotalCommander as well.
@EdKolis
@EdKolis 4 місяці тому
Some of the Space Empires series of 4X strategy games were written in Delphi as well. 3 and 4 definitely were, and maybe also 5.
@gwerneckpaiva
@gwerneckpaiva 4 місяці тому
I love that you're keeping the "hi mom" in your videos. It's a really great way to honour her.
@azufendusgarendum6583
@azufendusgarendum6583 4 місяці тому
I came looking for this comment
@mysterry2000
@mysterry2000 4 місяці тому
Same
@thatsalot3577
@thatsalot3577 4 місяці тому
I copied his code and it's in my machine as well, his mom will be immortal in our code forever and ever.
@flippert0
@flippert0 4 місяці тому
"You can call me by name which is 'Veert' or you can call me by value, which is 'Worth'." R.I.P. Niklaus Wirth
@luk318
@luk318 4 місяці тому
So much memories. Pascal/Delphi was my first language. Delphi 7 was cool IDE.
@aleksandarstevanovic5854
@aleksandarstevanovic5854 4 місяці тому
oh man yes! Borland Delphi 7 was way ahead of its time
@fburton8
@fburton8 4 місяці тому
It still is! I support an active commercial project that is written in Delphi. Blazingly fast compile and build on today’s hardware.
@joe-skeen
@joe-skeen 4 місяці тому
Ditto!
@NarayanLoke
@NarayanLoke 4 місяці тому
Rest In Peace Niklaus Wirth. I have read his compiler book and Project Oberon book, both were amazing books and helped me a lot. Thank you for your contribution, Sir !!!
@qj0n
@qj0n 4 місяці тому
I highly recommend his book "Algorithms + Data Structures = Programs"
@NarayanLoke
@NarayanLoke 4 місяці тому
@@qj0n Sounds interesting. Need to check if it's available in print.
@RelayComputer
@RelayComputer 4 місяці тому
Totally second that. I learned to code by reading his books. I also got a passion for compiler design and worked designing custom language compiler during part of my career
@RelayComputer
@RelayComputer 4 місяці тому
@@qj0n I have it on my books shell since published. One of the best, if not the best, book on computer data structures ever
@justaponyyy
@justaponyyy 3 місяці тому
what happened
@Zashxq
@Zashxq 4 місяці тому
fun fact, the original Tetris game was ported to PC using Turbo Pascal, which eventually led to its widespread popularity
@cdtape
@cdtape 4 місяці тому
It was a pirated copy
@gagagero
@gagagero 4 місяці тому
Because as we know, using a programming language directly equates to popularity...
@otakuotaku6774
@otakuotaku6774 4 місяці тому
Can we just take a minute of respect for those Pascal students
@automatic241
@automatic241 4 місяці тому
It's rough, trust me
@ATTI0822
@ATTI0822 4 місяці тому
Pascal on paper @ uni exam.. "good" times
@foxtrot596
@foxtrot596 4 місяці тому
My dad had to use it i think he didn’t like it that much 😂 he’s a computer scientist now tho
@ghaith2580
@ghaith2580 4 місяці тому
in my country my generation (born in 2003) is the first generation that started using python as the main programming language in public schools instead of Pascal.
@philipp_gbg
@philipp_gbg 4 місяці тому
Sadly my current CS teacher is teaching us Pascal trough Lazarus, trust me when I tell you it’s no fun
@MikeM8891
@MikeM8891 4 місяці тому
Pascal can compile extremely quickly in a single pass through the code. This was a major selling point. It also has great drag and drop IDEs like Delphi. John Carmack enjoyed Pascal and said the world could have easily embraced Pascal and avoided the pitfalls of C++ if it wasn't for the popularity of C among Linux users.
@Roboprogs
@Roboprogs 4 місяці тому
I remember ordering Turbo C for Windows in the early 90s. One of the demo programs took 5 seconds to build on my beater computer - with Turbo Pascal for Windows. The equivalent demo took 5 MINUTES to build in C/C++. TCW got shipped back 😂
@shivashankar28
@shivashankar28 4 місяці тому
I truly ❤️ C, its like coding in python but simpler. Pascal feels very much like C though, with structs etc.
@MikeM8891
@MikeM8891 4 місяці тому
@shivashankar28 it compiles faster than C but has safety features like range checked arrays.
@Krokoklemmee
@Krokoklemmee 4 місяці тому
@@shivashankar28 wat, how is coding in C simpler than Python?
@PixelThorn
@PixelThorn 4 місяці тому
​@@Krokoklemmeeyeah the comparison doesn't scale
@GyroCannon
@GyroCannon 4 місяці тому
RIP Niklaus Wirth. The syntax being familiar to us now means that it influenced a lot of languages that have come since, meaning that his indirect legacy is expansive. Truly a legend
@strawberry_blush81
@strawberry_blush81 4 місяці тому
This was the language I learned in school before I went over to C++. Good times :D
@vorpal22
@vorpal22 4 місяці тому
Yep... same here. I had been programming since age five when my parents bought me a Commodore 64 back in 1982 for my birthday, and learned to read through sheer force of will to be able to learn how to program. So much BASIC and QuickBasic along with some C and C++ until I got to university, learned Pascal, C++ more formally, and Prolog. Now I mostly do functional programming in Kotlin and Scala, or program in Python, but I had a lot of fond memories for Pascal. The syntax was a little verbose but it was a powerful language and great for teaching difficult concepts incrementally: much better than Java where you have to master things like the class and static keywords without knowing what they actually mean in order just to write hello world.
@hayden.A0
@hayden.A0 4 місяці тому
​@@vorpal22That's really interesting, I would have loved to experience what programming was like in the 80s. Today is definitely more convenient in many ways but the simplicity and being close to the hardware is fascinating too.
@vorpal22
@vorpal22 4 місяці тому
@@hayden.A0 I think in some ways, it's harder for people these days to get into programming at a young age because you have to decide that you want to, figure out how to install a compiler or interpreter and which one, and then try to figure out the next steps, which isn't easy. Of course, in the 80s, it was far less common to have a computer, but if you were lucky enough to have one, you basically had to know how to program it - at least on a basic (pun not intended) level - because just to run software often required it. LOL then again, way too much of my brain is still occupied by Commodore 64 memory locations since to do many things, you had to write directly to a memory location, e.g. POKE 53280,0 to turn the screen frame black and POKE 53281,1 ti turn the background white. 😅
@phill13able
@phill13able 4 місяці тому
Same here bro
@Turalcar
@Turalcar 4 місяці тому
Same. Not in the 80s though. I started in 2001.
@noblemode
@noblemode 4 місяці тому
As a former Vietnamese High School student, i can say that till this day Pascal is still being used to teach Secondary and High School student how to code (recently Python and C/C++ is introduced)
@polychronisdoumpas3081
@polychronisdoumpas3081 4 місяці тому
This applies to Greece too
@tovawr
@tovawr 4 місяці тому
and Portugal
@PolishCZE
@PolishCZE 4 місяці тому
at least one Czech college used Pascal as well (till 2018) :D
@RealHigherLevel
@RealHigherLevel 4 місяці тому
Same with south africa
@tozrimondher4250
@tozrimondher4250 4 місяці тому
Same in Tunisia 😊
@iyar220
@iyar220 4 місяці тому
He still wrote hi mom, i love this guy. Rest in peace
@thatabyssegg8507
@thatabyssegg8507 4 місяці тому
I'm about to finish the university and during the first two years some lecturers almost worshipped Niklaus' "algorithms and data structures" and highly recommended them to us. It was actually like a small joke among our group really, because of how often we've heard his name. I wasn't expecting the video to end like this at all. Rest in peace, Wirth
@phrous
@phrous 4 місяці тому
This language made me fall in love with programming
@aryanmn1569
@aryanmn1569 4 місяці тому
To make it just after Niklaus Wirth passing was a legendary move, thanks fireship
@zarrel14142
@zarrel14142 4 місяці тому
Pascal will alway be in my heart, not in my memory as I have forgotten most of it after half a year of learning c++.
@JorgetePanete
@JorgetePanete 4 місяці тому
Move to Rust
@rayaanansari4834
@rayaanansari4834 4 місяці тому
@@JorgetePaneteno
@PixelThorn
@PixelThorn 4 місяці тому
​@@JorgetePaneteget out
@tuberask
@tuberask Місяць тому
@JorgetePanete no?
@PixelThorn
@PixelThorn Місяць тому
@@JorgetePanete no
@TobyDeshane
@TobyDeshane 4 місяці тому
Turbo/Borland Pascal is awesome. It helped me bridge the gap between BASIC and C in the 90s giving me direct access to inline assembler and all that. Big, big deal with MS-DOS game devs and the demo scene at the time.
@games4us132
@games4us132 4 місяці тому
demo scene in Pascal? can't even imagine
@RealFableFox
@RealFableFox 3 місяці тому
@@games4us132 as mentioned, Pascal for high level stuff, inline assembly where speed is needed. it's a compiled language. by the same company that also sells Turbo C++. Anyway, there is a reason they put Turbo to it's name.
@TobyDeshane
@TobyDeshane 2 місяці тому
Oh, absolutely. BP was not only a good compiler and language in it's own right, but it gave very easy access to low-level assembler. Both linking as external object files and inline assembler. :D
@bradskaw
@bradskaw 4 місяці тому
Something not mentioned is that Structered Text is based on Pascal, so in a way Pascal's legacy persists mostly in industrial programming.
@boines69
@boines69 4 місяці тому
Didn't expect someone to mention ST, love to see it. In my opinion while being similar to Pascal, ST made improvements to the syntax (not having begin for example) and also included a good OOP in the 3rd revision. The committee did a great job
@bramvdnheuvel
@bramvdnheuvel 3 місяці тому
Please do Elm in 100 seconds next! It hasn't gotten the love it deserves in a while.
@EvanEdwards
@EvanEdwards 4 місяці тому
Pascal has a special place in my heart, even if I haven't touched it in decades. The P-System and later TurboPascal were phenomenal and carried through from the 8-bit era into VGA. C is still my minimalist true love and later languages my work spouses, but Pascal was my first serious love after my first years with assembler and BASIC (and yes, that pair was a very common starting set in that era: BASIC taught the logical concepts, and assembly taught you the engineered machine).
@SirusStarTV
@SirusStarTV 4 місяці тому
If you love it so much why don't you marry it? /jk
@weakmindedidiot
@weakmindedidiot 4 місяці тому
Same. Pascal graduated me from Basic's method of programing to something more akin to C++. Then I learned C++ with some ASM addin code to allow me to program in good ole 640 x 480. Decades. So long ago I had forgotten that syntax entirely.
@EvanEdwards
@EvanEdwards 4 місяці тому
@@SirusStarTV I sort of did. My late wife was a computational quantum chemist. She wrote Tagdock, which is used to calculate things like protein interaction. Although she used vi and I used emacs. And if you want to talk about old school languages, she still wrote some Fortran in 2023. (She died of cancer on Easter Sunday, two weeks after diagnosis.)
@my_pleasure_in_your_leisure
@my_pleasure_in_your_leisure 4 місяці тому
Next time poor Sirus will think twice before writing a stupid joke.
@weakmindedidiot
@weakmindedidiot 4 місяці тому
@@EvanEdwards That's rough. I hope you loved every minute you got to spend with Sarah. In the end, that's all we get.
@codecaine_
@codecaine_ 4 місяці тому
I respect the fact the you still keep the 'Hi mom!' quotes. Keep the great content up!!!
@erc0re526
@erc0re526 4 місяці тому
People are still using it, tons of stuff is written in Pascal, even games like HROT. If you've worked with Golang before, its syntax is heavily inspired by Pascal, and for a good reason: very easy to parse both for humans and machine!
@Flrere
@Flrere 4 місяці тому
very easy to use- i mean parse, because the design is very hum- high level
@Mempler
@Mempler 4 місяці тому
​@@FlrereLOL
@pavelperina7629
@pavelperina7629 4 місяці тому
I think Total Commander and FastStone Image Viewer are writen either in Delphi or Borland C++. I haven't used Delphi since 2006 when I left my first job.
@maxfrischdev
@maxfrischdev 4 місяці тому
I am still a Golang -learner/noob, but at least my brain didn't just play me, that much of the syntax looks fascinatingly similar to Go 😊
@r_y_4557
@r_y_4557 4 місяці тому
That moment of relief when fireship drop a video about an absolete technology so you don't feel that you have to learn new stuff this time
@HoNow222
@HoNow222 4 місяці тому
lol finally
@stefanalecu9532
@stefanalecu9532 4 місяці тому
you'd be surprised to find out Delphi is still widely used in the industry, so it's not "absolete" by any means ;)
@maxxrosen
@maxxrosen 4 місяці тому
It would only be to your benefit to learn it. Far from obsolete.
@yvonnehawkstone980
@yvonnehawkstone980 4 місяці тому
The moment when you watch the end and realise the creator of the language just died after seeing and liking his work .-.
@dansanger5340
@dansanger5340 4 місяці тому
Pascal was the language of instruction for CS at my university in the 1980s. They also taught a bit of C, C++, Modula-2 (another Niklaus Wirth language), Lisp, Eiffel, and APL.
@piotrekr
@piotrekr 4 місяці тому
I learned Pascal in high school. I remember doing class assignments for the whole class. I liked the graphics mode, too. I started programming before high school with BASIC. And I am still a programmer to this day. Thank you for creating this awesome language! And thank you Fireship for this video!
@_creepingdeath
@_creepingdeath 4 місяці тому
Pascal was the language we learned in school. Never really liked the syntax. But Lazarus as IDE was good and easy to use for total beginners, just drag and drop components onto the form, give them a name (or not) and use them in your code
@tobyboulton8340
@tobyboulton8340 4 місяці тому
I learned in VB express late 2000s and I can't relate more to the "or not" point. TextBox451.Text here we come
@TheBadoctopus
@TheBadoctopus 4 місяці тому
Yes. This video makes me feel old... Because I am 😭
@HolyRamanRajya
@HolyRamanRajya 4 місяці тому
drag and drop RAD development? that can't be clean
@Gameplayer55055
@Gameplayer55055 4 місяці тому
​@@HolyRamanRajyabut it's easy. The same way as JavaScript is a laggy crap, but everybody uses it because of cheap labour And i think c# may have killed delphi with Visual Studio, drag n drop winforms, cool debugger and Microsoft promotion
@Ash-ww3ht
@Ash-ww3ht 4 місяці тому
if you liked lazarus you might want to try RadStudio 11 with the FMX framework, I am actually building building UI elements with this framework and they're allright.
@KnightMirkoYo
@KnightMirkoYo 4 місяці тому
Turbo Pascal was my first programming language and pretty much hooked me on programming. Very sad to have learned that Wirth passed. Rest in peace, legend.
@Mempler
@Mempler 4 місяці тому
pascal looks more clean than newer languages. I actually like how you would return stuff, it can make your code for very specific functions super clean
@Roboprogs
@Roboprogs 4 місяці тому
The caller is actually passing a hidden reference for the return value. No memory leaks of returned values, if you copy into the provided buffer rather than returning a pointer, but you cannot ignore the return value, since the caller is providing the storage for it.
@anciao_dev
@anciao_dev 4 місяці тому
The first language I had contact with. Really loved the syntax, and easy to learn.
@user-qn2rs5qz2v
@user-qn2rs5qz2v 4 місяці тому
My programming journey was started from Pascal! Once in ~2017 my classmate brought old Soviet Pascal book to school. The very first "Hello World" in my life was written in this language. Thanks for the video!
@victorpinasarnault9135
@victorpinasarnault9135 4 місяці тому
Soviet Pascal?
@oleg4966
@oleg4966 4 місяці тому
@@victorpinasarnault9135 A special dialect of the language where classes and private properties technically still exist, but are considered a code smell.
@tobyboulton8340
@tobyboulton8340 4 місяці тому
so effectively Привет, мир
@CruxDiaries
@CruxDiaries 4 місяці тому
⁠@@victorpinasarnault9135he probably meant a book translated to Russian in Soviet times. However, there was actually a Soviet basic/pascal-like language, Rapira, with all language constructs written in Russian.
@user-qn2rs5qz2v
@user-qn2rs5qz2v 4 місяці тому
@@victorpinasarnault9135 Pascal book that was translated into Russian in Soviet Union
@John_Fx
@John_Fx 4 місяці тому
So nostalgic for my Pascal programming days. Was a great language!
@DaivG
@DaivG 4 місяці тому
My first programming language in the 90s! Takes me back… Extra special thanks for this one.
@qwesx
@qwesx 4 місяці тому
One cool features was that it allowed to created subtypes of existing types, i.e. you could define a new range of integers including only 0 to 42. In debug builds (for example when running test benches) it will crash the program on over- or underflows of your custom type. When the program runs correctly it will give you a minor optimization because you can just leave out any range checking and you also intrinsically documented the allowed value ranges directly in the code without additional comments.
@AlbertBalbastreMorte
@AlbertBalbastreMorte 4 місяці тому
Could this be a workaround way of making enums?
@MikeM8891
@MikeM8891 4 місяці тому
​@AlbertBalbastreMorte Pascal has native enums. The funny thing is that I was reading about ways of implementing almost this exact feature in Rust.
@charlieking7600
@charlieking7600 4 місяці тому
So you can actually write portable software with exact same computations and variable ranges, unlike C?
@cryptogenik
@cryptogenik 4 місяці тому
Love the 100 seconds series!!! Thank you!
@marc1397
@marc1397 4 місяці тому
It was my first programming language! Thank you for this!
@UteChewb
@UteChewb 4 місяці тому
RIP Niklaus Wirth. I used Pascal as a hobby before learning C and C++ and liked it, but not as much as C/C++. Years later, I was doing C++ work in an environment where there were some Delphi programmers. They showed me how it worked and was different to Pascal -- I was impressed. Then he said, "Watch this. I'm going to compile." He hit the compile button and before his hand had lifted from the kbd it was done. Holy sh*t! When I did a compile I could make a cup of coffee before it finished. Delphi used modules or similar, like modules and interfaces in Modula-2, a language I knew too much about, so when you hit compile it would know exactly what it needed to compile and what not to. Change a header file but not the source it referred to, then just compile the header. Brilliant.
@khalidben9940
@khalidben9940 4 місяці тому
I am one of those who started programing with Pascal. It was not easy at first but I loved it. Nostalgy to me to see it in this channel getting some fame. Gold old days :P
@thomziq
@thomziq 4 місяці тому
My first programing language :) memories
@bartlx
@bartlx 4 місяці тому
As a demoscene loving teen in the eighties I loved programming Turbo Pascal, especially because of the ease with which one could insert blocks of assembler code.
@parasharkchari
@parasharkchari 4 місяці тому
Niklaus Wirth also created a few other variants meant to improve on Pascal, such as Modula-2. Modula-2, in particular, improved on the package management and piecemeal linking -- a style that would later be copied by Java. In the original Jurassic Park film, you can see Modula-2 code in the IDE for the brief moments that code is actually visible... So yeah, apparently those 2 million lines were Modula-2.
@loaonline
@loaonline 4 місяці тому
Have his book on my bookcase, "Programming in Modula-2", by Niklaus Wirth, second edition, 1983 publication. A classic along side "The C Programming Language", by Kernighan and Ritchie
@doigt6590
@doigt6590 4 місяці тому
A couple of mistakes: - Not based on Algol-60, but based on Algol-W, which was also created by Niklaus Wirth. - You gave the definition of imperative programming when talking about procedural programming. Procedural programming is defined by separating your programming tasks into records and procedures (hence the name). Pascal is notable as one of the first major procedural languages.
@jarnailbrar6732
@jarnailbrar6732 4 місяці тому
he didn't describe it well, he should have said, similar to C but functions returning void are called procedures, those returning a value are called functions.
@HyperionStudiosDE
@HyperionStudiosDE 4 місяці тому
Delphi was my first programming language.
@empece60
@empece60 4 місяці тому
Pascal was my first programming language in IT technical school. Greetings to my excellent teacher Marcin, who inspired me to start coding 💪
@dao-lam
@dao-lam 3 місяці тому
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
@NoonStone
@NoonStone 4 місяці тому
I first learned about pascal through Programmable logic controllers (PLC) used in industrial automation. PLC devices use a variety of different languages like ladder or Structured Text. structured text being based on pascal and one of the most common ways of programming PLC devices today. It was a great introduction for somebody like me that didn't know a lot about programming to get into it and start learning other languages.
@spicynoodle7419
@spicynoodle7419 4 місяці тому
Man, ladder programming deserves a special place in hell. I had to suffer through a whole semester
@crazychickengd
@crazychickengd 4 місяці тому
He still writes “Hi mom” instead of “hello world” 😭
@Mateus707_2
@Mateus707_2 19 днів тому
Hello World 🤮🤮🤮🤮 Hi mom 🍷🗿
@SwimmingInSeas
@SwimmingInSeas 4 місяці тому
Delphi was my first exposure to programming back in the early 2000s... GUI application development seems to have only gotten worse since
@CruxDiaries
@CruxDiaries 4 місяці тому
Amazing! I spent years writing in Pascal and Assembly. I have implemented my own scripting language and developed a Fallout-like RPG for DOS, then ported it to Windows using Delphi and DirectDraw. I’m now resurrecting it using Unity engine, 3D models and C#, but Pascal is like one’s first love that you can never forget. Thank you Niklaus! ❤
@Ferno2k
@Ferno2k 4 місяці тому
I was learning the procedure and functions for postgresql yesterday and today I saw a video even though the language is different. I still get cleared with misconceptions i had thanks fireship 👍.
@thedelanyo
@thedelanyo 4 місяці тому
I like the separation of the function and procedure feature. Very intent.
@luke5100
@luke5100 4 місяці тому
This was also done in most flavors of Basic
@d_a_r_ii
@d_a_r_ii 4 місяці тому
In Java you either specify value of a function, like: int sqrt(value){…}; or put void instead of data type: void doNothing(){…}
@AdidasDoge
@AdidasDoge 4 місяці тому
Another language to add to my resume
@Expat_from_zaLand
@Expat_from_zaLand 4 місяці тому
Wow, what a trip down memory lane, I loved turbo pascal,moved the clipper afterwards coz TP didn't have ready way to create a database, so was my start to being a software developer of over 30 years. Whoop whoop.... Thanks for the nostalgia... ❤
@nikoladjordjevic4477
@nikoladjordjevic4477 4 місяці тому
Ahh Pascal, I learned to program in it. You just brought back some happy loving memories from high school :)
@adamsfusion
@adamsfusion 4 місяці тому
Pascal is one of those languages that "feels" dead, but has had a huge comeback in the 21st century thanks to languages inheriting a lot of its design choices. Pascal and Delphi might not be greenfield appropriate, but neither is C, and just about every modern language dips deep into both. And if you're an Ada programmer, of which is still a very active language with many greenfield projects, you've basically covered the core of Pascal.
@kunv2195
@kunv2195 4 місяці тому
pls ADA language next!! 100 seconds series is awesome
@RobotBoyZzz
@RobotBoyZzz Місяць тому
Brings an amazing nostalgia reading that code. When I was 7 I was first taught to program in Pascal. It was a great time.
@svenvancrombrugge9073
@svenvancrombrugge9073 4 місяці тому
RIP. Nice that you made this video. It's actually the first language I learned in school. Most likely the teacher learned it in the 80s and then just kept teaching it.
@denizural5390
@denizural5390 4 місяці тому
RIP Prof. Wirth 😥
@KitchenGuy
@KitchenGuy 4 місяці тому
Learned Delphi in school, loved how easily you can build small GUI tools in it.
@KrisKamweru
@KrisKamweru 4 місяці тому
I remember learning this as one of my first forays into programming. Legend of a language
@philologos14
@philologos14 4 місяці тому
I actually learned Pascal in high school as my first programming language. I think its a great program to learn how to code.
@user-og4np5ye2v
@user-og4np5ye2v 4 місяці тому
In Hong Kong, Pascal in highschool is a very popular language to teach due to its simple and straight forward syntax compared to other options i.e. Java and C. My coding journey basically starts from here, learning all the basic things from variable, functions to bubble sort etc. After getting into college, of course I found out there is nearly no one except us using this language so there is very limited use case of it, but the days writting Pascal is some of the happiest time in my coding journey.
@tudogeo7061
@tudogeo7061 4 місяці тому
Hehe same here in Romania back in the 90s - 2000s but I think they switched to C recently. Pitty, Pascal is in my opinion way better for beginners than C/C++ (too low-level, too concise even) and Basic (not low-level enough, as verbose as Pascal).
@EdwardChan.999
@EdwardChan.999 4 місяці тому
Same... interestingly my highschool taught us Visual Basic in form 2-3, and I almost dropped programming because of how horrible it was. Pascal (form 4-6) encouraged me to study Computer Science to this day :)
@vochikhanh3980
@vochikhanh3980 4 місяці тому
In my opinion this may be the greatest language to teach and to start. Great at demonstrate math, algorithms but not so complex as C family. This was also the first language that middle secondary school taught me and successfully created my passionate with coding. So much thanks to Fireship for reminding me of Pascal
@demonwithglasshand
@demonwithglasshand 4 місяці тому
I literally searched your channel last night for this, so I could sell Pascal to my kids to get them to learn programming, nice work, thank you!
@szerednik.laszlo
@szerednik.laszlo 4 місяці тому
Lol. I wish them happy learning. Pascal the best!
@demonwithglasshand
@demonwithglasshand 4 місяці тому
@@szerednik.laszloyep, I came from assembly language 68000 to (turbo) pascal as my first high level language, absolutely loved it 👍
@SnackLive
@SnackLive 4 місяці тому
This was the programming language that was taught in the first semester at my uni. It might be old and not in use anymore but i really like the learning experience it gave me :)
@CFalcon030
@CFalcon030 4 місяці тому
Mine too. Got Pure Pascal to use on my computer, didn't manage to compile a program, passed the lesson in the written exams, looking forward to finding the time to actually try it.
@EduardKaresli
@EduardKaresli 4 місяці тому
Pascal was the first language we studied at university back in the days. With OOP support later in Delphi, I think it's quite modern and powerful, popularity decline can be explained by mostly lack of commercial hype. Still usable even in these days. R.I.P. Niklaus Wirth.
@EvilTim1911
@EvilTim1911 4 місяці тому
I went to high school in 2010 and Pascal was still being used in computer class to teach programming. We had a really outdated syllabus...
@stefanalecu9532
@stefanalecu9532 4 місяці тому
you could've learned C++...
@luke5100
@luke5100 4 місяці тому
Wow that’s wild lol. I graduated HS in 1997 and of course Pascal was still being used as the teaching language then. I would have assumed it had been python for a good 20 years at this point
@luke5100
@luke5100 4 місяці тому
@@stefanalecu9532 OK? I mean, they are talking about what the high school was using as the teaching language, not what languages they could or couldn’t learn on their own
@true_visual
@true_visual 4 місяці тому
I was waiting for this! Pascal was my very first programming language in High School!
@vjlkof
@vjlkof 3 місяці тому
I learned programming with this language. I love it.
@DavidCZ2051
@DavidCZ2051 4 місяці тому
They still teach us Pascal in school 💀
@user-gp9xg9um7v
@user-gp9xg9um7v 4 місяці тому
In Belarus we still learn algorithms with it
@QuickTipsTV-hk8xt
@QuickTipsTV-hk8xt 4 місяці тому
Yeah, because life in your country kinda sucks under all these sanctions...
@prosto_voda
@prosto_voda 2 місяці тому
@@QuickTipsTV-hk8xt чел реально думает что паскаль используют из-за санкций (а не потому что школьная программа устарела на 20 лет)
@tsalVlog
@tsalVlog 4 місяці тому
I saw the video title and I watched for the Niklaus Wirth mention; leaving satisfied -- I even watched the rest of it after he was mentioned.
@tsalVlog
@tsalVlog 4 місяці тому
... and I just realize he died a few days ago. dang. RIP.
@GabrielCarusetta
@GabrielCarusetta 4 місяці тому
This is such a succinctly told explanation, I love it.
@GaborGubicza
@GaborGubicza 4 місяці тому
Good old days in 2000 when I was learning Turbo Pascal :D the only think I remember: if grgr ok then halt It's awesome to start learning programming again (JavaScript)
@GaborGubicza
@GaborGubicza 4 місяці тому
And I found this gem: "begin gd := detect; gm := 0; InitGraph(gd, gm, ''); if GraphResult grok then Halt; OutTextXY(0, 0, 'HALLO'); SetColor(white); So cool!
@readyplayer2197
@readyplayer2197 4 місяці тому
God, we Swiss dudes are just amazing.
@magnusmarkling
@magnusmarkling 4 місяці тому
Oh the memories this brings back! This is why my carreer got all started.
@luke5100
@luke5100 4 місяці тому
I picked up Basic on my own as a kid, but my first actual programming class was Pascal in high school, in 1995. At that point the lab was running PowerPC Macs and we used an IDE called CodeWarrior
@badis465
@badis465 4 місяці тому
1:33 "Hi mom!" It really hurts 😢
@christianremboldt1557
@christianremboldt1557 4 місяці тому
1:27 how sweet🥲
@tarapogancev
@tarapogancev 4 місяці тому
I remember being introduced to programming in Pascal when I was 11 years old. It sparked a passion in me for solving puzzles in such a beautifully abstract, algorithmic way. I had then decided to become a programmer, even knowing so little. Fast forwards many years later, I'm happy to have achieved a Masters degree in CS, and a great job as a Software Engineer! I couldn't be happier for choosing this career path, and more thankful to the kind, wholesome professor who taught me how to think within computer's mind.
@szerednik.laszlo
@szerednik.laszlo 4 місяці тому
As if I were reading my own story, nostalgia hits hard! Hello from Hungary.
@tarapogancev
@tarapogancev 4 місяці тому
​@@szerednik.laszlo That's great to hear! 😁Hello to you too, neighbor!
@Dmitry-Moiseenko
@Dmitry-Moiseenko 4 місяці тому
Thank you for a great video! This was a first programming language that I’ve learnt in the end of 90th.
@robertkiestov3734
@robertkiestov3734 4 місяці тому
C is the best
@crackedEgg
@crackedEgg 4 місяці тому
Rust is better
@BroussaYt
@BroussaYt 4 місяці тому
Pipimann>
@robertkiestov3734
@robertkiestov3734 4 місяці тому
@@crackedEgg >cracked egg >rust is better The jokes right themselves.. 🏳️‍⚧️
@Bagnesium
@Bagnesium 4 місяці тому
No
@Scrolte6174
@Scrolte6174 4 місяці тому
@@crackedEgg No, Rust is garbage
@TorvicIsSanta
@TorvicIsSanta 4 місяці тому
One of my senior level classes had us making a compiler for a subset of pascal. It was surprisingly simple to wrap my head around it, both on the human side of understanding pascal syntax, and the compiler side of parsing it. Not easy, but simple.
@Iymabot
@Iymabot 4 місяці тому
As someone who used Delphi specifically in my high school IT class. This has a special place in my heart.
@gelismissuriyeli4440
@gelismissuriyeli4440 4 місяці тому
This was the very first programming language I learned back in high school.This video was quite nostalgic.
@wisteela
@wisteela 4 місяці тому
Great to see this covered
@Fanmade1b
@Fanmade1b 4 місяці тому
Ha. That's actually the first programming language I've ever "worked" with. We didn't have proper equipment at my school for real IT-education, but there was a voluntary work group where you could either learn something about electronics or about computers. I don't know what exactly they did in the electronics section (they had some boards where they could plug-in different elements like lights and switches), but in the computers section we had two old computers to play around with. I think they were both i386s and already very old. One team was programming wit Turbo Pascal on the one PC, while the other team was trying to get the other computer to start. I've had a lot of fun there, but I didn't want to get into programming after that. It took me six years after that school to realize that software development isn't so bad after all and now I'm a senior software developer. Thanks for reminding me about this, Jeff! :)
@TheRealGlennCooper
@TheRealGlennCooper 4 місяці тому
Your channel is just perfect! I hope you never change a thing...
@sandbox_beast3846
@sandbox_beast3846 4 місяці тому
Thank you so much for making this video ❤
@piano_arts_2007
@piano_arts_2007 4 місяці тому
Finally I was waiting for this Thx!
@fuzzy-02
@fuzzy-02 4 місяці тому
Thank you Fireship for the history documentary. I would have never known of this otherwise. Rest in piece Niklaus Wirth
@foo0815
@foo0815 4 місяці тому
Loved the REPEAT ... UNTIL construct. Clearest loop description ever.
@warpmonkey
@warpmonkey 4 місяці тому
Turbo Pascal was the first proper language I learnt, after Applesoft Basic, and it really set how I've thought of programming over the last 30 years. Thanks Mr Wirth for your contribution to programming!
@northshorepx
@northshorepx 4 місяці тому
My first high level language was Basic in the late 70s as a kid. It was trivial to move to Pascal when I went to university in the mid 80s. I then went on to learn Modula 2 (also from Wirth), and only learned C and then C++ in the 90s. Turbo pascal really was astounding. Imagine a time when compiling even trivial programs took many 10s of seconds, and TP came along and did it under 5 seconds.
@MilesFlavel
@MilesFlavel 4 місяці тому
Turbo Pascal was my introduction to programming in 2006 It was certainly an older choice for the time, and I don't remember any of what we learned, but I'm thankful for the journey it put me on
@akaizn
@akaizn 3 місяці тому
I learned how to code with Pascal and Turbo Pascal back in 2010. THANK YOU! 😢
@Synena
@Synena 3 місяці тому
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
Expo in 100 Seconds
2:39
Fireship
Переглядів 507 тис.
10 regrets of experienced programmers
8:16
Fireship
Переглядів 460 тис.
Артем Пивоваров х Klavdia Petrivna - Барабан
03:16
Artem Pivovarov
Переглядів 5 млн
God-Tier Developer Roadmap
16:42
Fireship
Переглядів 6 млн
10 weird algorithms
9:06
Fireship
Переглядів 1 млн
CPU vs GPU vs TPU vs DPU vs QPU
8:25
Fireship
Переглядів 1,5 млн
How I accidentally learned Python in 6 months
4:57
Thaomaoh
Переглядів 6 тис.
How A Steam Bug Deleted Someone’s Entire PC
11:49
Kevin Fang
Переглядів 816 тис.
Reacting to Controversial Opinions of Software Engineers
9:18
Fireship
Переглядів 1,9 млн
From React To HTMX
40:01
ThePrimeTime
Переглядів 285 тис.
Бывший лучший язык программирования
7:25
10 Programmer Stereotypes
5:08
Fireship
Переглядів 3 млн
how NASA writes space-proof code
6:03
Low Level Learning
Переглядів 2 млн
I shouldn’t have kept the $1,000,000 computer
28:05
Linus Tech Tips
Переглядів 1,5 млн
Секретная функция ютуба 😱🐍 #shorts
0:14
Владислав Шудейко
Переглядів 2,2 млн
Тестируем Gravis Ultrasound... ну почти.
48:18
Дмитрий Бачило
Переглядів 40 тис.
Самый глупый смартфон в мире #LightPhone
0:36