Pascal in 100 Seconds

Поделиться
HTML-код
  • Опубликовано: 20 май 2024
  • 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,4 тыс.

  • @sonmangaking
    @sonmangaking 4 месяца назад +3493

    Rest in piece legend, programming languages creators need be remembered and known. Thanks Fireship

    • @stefanalecu9532
      @stefanalecu9532 4 месяца назад +55

      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 месяца назад +96

      In the nicest way possible: rest in peace*, it’s an honest mistake

    • @tytyterrell
      @tytyterrell 4 месяца назад +6

      Agreed. I would add that a longer format is worthy @fireship

    • @norude
      @norude 4 месяца назад +30

      *Rust in peace

    • @Pixelcrafter_exe
      @Pixelcrafter_exe 4 месяца назад +19

      We are still using it in many german high schools as only programing language taught in CS courses xD

  • @wlockuz4467
    @wlockuz4467 4 месяца назад +2092

    I love how its syntax feels oddly "modern"

    • @sweetink4453
      @sweetink4453 4 месяца назад +619

      I thought PASCAL would be some ancient shit, but this is much more readable than most js frameworks

    • @remcogreve7982
      @remcogreve7982 4 месяца назад +97

      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 месяца назад +21

      I think it also because pl/sql uses similar syntax

    • @krzysztofrutkowski5481
      @krzysztofrutkowski5481 4 месяца назад +87

      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 месяца назад +10

      It was because of Pascal that it feels that way

  • @ThePouetman
    @ThePouetman 4 месяца назад +2519

    The syntax doesn't look half bad actually, compared to some other old languages

    • @michalbotor
      @michalbotor 4 месяца назад +298

      exactly, it's a pleasure to read. can't say that about many other modern programming languages.

    • @hedwig7s
      @hedwig7s 4 месяца назад +40

      @@michalbotor Lua would like a word

    • @coder2k
      @coder2k 4 месяца назад +245

      @@hedwig7s Lua is one day late to the discussion....because of an off-by-one error.

    • @civilroman
      @civilroman 4 месяца назад +88

      @@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 месяца назад +27

      @@coder2kThat hit hard.

  • @samplefx1
    @samplefx1 4 месяца назад +742

    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 месяца назад +17

      Did not know that, that's awesome

    • @anmolsharma4049
      @anmolsharma4049 4 месяца назад +24

      That's awesome, I always thought FL was written in c++

    • @piotralex5
      @piotralex5 4 месяца назад +58

      and ironically Dev-C++ IDE was made in Delphi

    • @MladenMijatov
      @MladenMijatov 4 месяца назад +18

      TotalCommander as well.

    • @EdKolis
      @EdKolis 4 месяца назад +8

      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.

  • @flippert0
    @flippert0 4 месяца назад +100

    "You can call me by name which is 'Veert' or you can call me by value, which is 'Worth'."
    R.I.P. Niklaus Wirth

  • @gwerneckpaiva
    @gwerneckpaiva 4 месяца назад +153

    I love that you're keeping the "hi mom" in your videos. It's a really great way to honour her.

    • @azufendusgarendum6583
      @azufendusgarendum6583 4 месяца назад +18

      I came looking for this comment

    • @mysterry2000
      @mysterry2000 4 месяца назад +2

      Same

    • @thatsalot3577
      @thatsalot3577 4 месяца назад +7

      I copied his code and it's in my machine as well, his mom will be immortal in our code forever and ever.

  • @luk318
    @luk318 4 месяца назад +121

    So much memories. Pascal/Delphi was my first language. Delphi 7 was cool IDE.

    • @aleksandarstevanovic5854
      @aleksandarstevanovic5854 4 месяца назад +12

      oh man yes! Borland Delphi 7 was way ahead of its time

    • @fburton8
      @fburton8 4 месяца назад +10

      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!

  • @GyroCannon
    @GyroCannon 4 месяца назад +29

    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

  • @otakuotaku6774
    @otakuotaku6774 4 месяца назад +1273

    Can we just take a minute of respect for those Pascal students

    • @automatic241
      @automatic241 4 месяца назад +49

      It's rough, trust me

    • @ATTI0822
      @ATTI0822 4 месяца назад +116

      Pascal on paper @ uni exam.. "good" times

    • @foxtrot596
      @foxtrot596 4 месяца назад +13

      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 месяца назад +36

      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 месяца назад +26

      Sadly my current CS teacher is teaching us Pascal trough Lazarus, trust me when I tell you it’s no fun

  • @Zashxq
    @Zashxq 4 месяца назад +287

    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 месяца назад +1

      Because as we know, using a programming language directly equates to popularity...

  • @NarayanLoke
    @NarayanLoke 4 месяца назад +77

    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 месяца назад +5

      I highly recommend his book "Algorithms + Data Structures = Programs"

    • @NarayanLoke
      @NarayanLoke 4 месяца назад +1

      @@qj0n Sounds interesting. Need to check if it's available in print.

    • @RelayComputer
      @RelayComputer 4 месяца назад +2

      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

  • @MikeM8891
    @MikeM8891 4 месяца назад +189

    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 месяца назад +22

      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 месяца назад +8

      I truly ❤️ C, its like coding in python but simpler. Pascal feels very much like C though, with structs etc.

    • @MikeM8891
      @MikeM8891 4 месяца назад +7

      @shivashankar28 it compiles faster than C but has safety features like range checked arrays.

    • @Krokoklemmee
      @Krokoklemmee 4 месяца назад +18

      @@shivashankar28 wat, how is coding in C simpler than Python?

    • @PixelThorn
      @PixelThorn 4 месяца назад +4

      ​@@Krokoklemmeeyeah the comparison doesn't scale

  • @strawberry_blush81
    @strawberry_blush81 4 месяца назад +276

    This was the language I learned in school before I went over to C++. Good times :D

    • @vorpal22
      @vorpal22 4 месяца назад +3

      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 месяца назад +1

      ​@@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 месяца назад +1

      @@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 месяца назад +183

    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 месяца назад +13

      This applies to Greece too

    • @tovawr
      @tovawr 4 месяца назад +11

      and Portugal

    • @PolishCZE
      @PolishCZE 4 месяца назад +11

      at least one Czech college used Pascal as well (till 2018) :D

    • @RealHigherLevel
      @RealHigherLevel 4 месяца назад +12

      Same with south africa

    • @tozrimondher4250
      @tozrimondher4250 4 месяца назад +10

      Same in Tunisia 😊

  • @thatabyssegg8507
    @thatabyssegg8507 4 месяца назад +18

    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

  • @iyar220
    @iyar220 4 месяца назад +14

    He still wrote hi mom, i love this guy. Rest in peace

  • @phrous
    @phrous 4 месяца назад +28

    This language made me fall in love with programming

  • @erc0re526
    @erc0re526 4 месяца назад +168

    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 месяца назад +24

      very easy to use- i mean parse, because the design is very hum- high level

    • @Mempler
      @Mempler 4 месяца назад +6

      ​@@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 месяца назад +1

      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 😊

  • @bradskaw
    @bradskaw 4 месяца назад +87

    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 месяца назад +5

      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

  • @_creepingdeath
    @_creepingdeath 4 месяца назад +240

    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 месяца назад +8

      Yes. This video makes me feel old... Because I am 😭

    • @HolyRamanRajya
      @HolyRamanRajya 4 месяца назад +1

      drag and drop RAD development? that can't be clean

    • @Gameplayer55055
      @Gameplayer55055 4 месяца назад +8

      ​@@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.

  • @aryanmn1569
    @aryanmn1569 4 месяца назад +7

    To make it just after Niklaus Wirth passing was a legendary move, thanks fireship

  • @TobyDeshane
    @TobyDeshane 4 месяца назад +53

    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 месяца назад +1

      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

  • @EvanEdwards
    @EvanEdwards 4 месяца назад +88

    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 месяца назад +7

      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.

  • @dansanger5340
    @dansanger5340 4 месяца назад +19

    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 месяца назад +12

    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!

  • @zarrel14142
    @zarrel14142 4 месяца назад +45

    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++.

  • @codecaine_
    @codecaine_ 4 месяца назад +4

    I respect the fact the you still keep the 'Hi mom!' quotes. Keep the great content up!!!

  • @bramvdnheuvel
    @bramvdnheuvel 4 месяца назад +3

    Please do Elm in 100 seconds next! It hasn't gotten the love it deserves in a while.

  • @Mempler
    @Mempler 4 месяца назад +24

    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 месяца назад +6

      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 месяца назад +8

    The first language I had contact with.
    Really loved the syntax, and easy to learn.

  • @DaivG
    @DaivG 4 месяца назад +5

    My first programming language in the 90s! Takes me back…
    Extra special thanks for this one.

  • @doigt6590
    @doigt6590 4 месяца назад +48

    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 месяца назад +1

      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.

  • @KnightMirkoYo
    @KnightMirkoYo 4 месяца назад +5

    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.

  • @SwimmingInSeas
    @SwimmingInSeas 4 месяца назад +26

    Delphi was my first exposure to programming back in the early 2000s... GUI application development seems to have only gotten worse since

  • @UteChewb
    @UteChewb 4 месяца назад +2

    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.

  • @John_Fx
    @John_Fx 4 месяца назад +11

    So nostalgic for my Pascal programming days. Was a great language!

  • @r_y_4557
    @r_y_4557 4 месяца назад +89

    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 месяца назад +3

      lol finally

    • @stefanalecu9532
      @stefanalecu9532 4 месяца назад +10

      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 месяца назад +4

      It would only be to your benefit to learn it. Far from obsolete.

    • @yvonnehawkstone980
      @yvonnehawkstone980 4 месяца назад +6

      The moment when you watch the end and realise the creator of the language just died after seeing and liking his work .-.

  • @cryptogenik
    @cryptogenik 4 месяца назад +9

    Love the 100 seconds series!!! Thank you!

  • @qwesx
    @qwesx 4 месяца назад +15

    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 месяца назад +1

      Could this be a workaround way of making enums?

    • @MikeM8891
      @MikeM8891 4 месяца назад +1

      ​@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?

  • @marc1397
    @marc1397 4 месяца назад +3

    It was my first programming language! Thank you for this!

  • @user-qn2rs5qz2v
    @user-qn2rs5qz2v 4 месяца назад +13

    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

  • @bartlx
    @bartlx 4 месяца назад +3

    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.

  • @khalidben9940
    @khalidben9940 4 месяца назад +2

    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

  • @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 👍.

  • @empece60
    @empece60 4 месяца назад +5

    Pascal was my first programming language in IT technical school. Greetings to my excellent teacher Marcin, who inspired me to start coding 💪

  • @kunv2195
    @kunv2195 4 месяца назад +8

    pls ADA language next!! 100 seconds series is awesome

  • @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! ❤

  • @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... ❤

  • @thedelanyo
    @thedelanyo 4 месяца назад +11

    I like the separation of the function and procedure feature. Very intent.

    • @d_a_r_ii
      @d_a_r_ii 4 месяца назад +2

      In Java you either specify value of a function, like: int sqrt(value){…}; or put void instead of data type: void doNothing(){…}

  • @HyperionStudiosDE
    @HyperionStudiosDE 4 месяца назад +7

    Delphi was my first programming language.

  • @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

  • @philologos14
    @philologos14 4 месяца назад +2

    I actually learned Pascal in high school as my first programming language. I think its a great program to learn how to code.

  • @parasharkchari
    @parasharkchari 4 месяца назад +8

    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 месяца назад +1

      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

  • @adamsfusion
    @adamsfusion 4 месяца назад +6

    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.

  • @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.

  • @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!

  • @NoonStone
    @NoonStone 4 месяца назад +5

    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

  • @thomziq
    @thomziq 4 месяца назад +3

    My first programing language :) memories

  • @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.

  • @GabrielCarusetta
    @GabrielCarusetta 4 месяца назад

    This is such a succinctly told explanation, I love it.

  • @vochikhanh3980
    @vochikhanh3980 4 месяца назад +7

    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

  • @KitchenGuy
    @KitchenGuy 4 месяца назад +10

    Learned Delphi in school, loved how easily you can build small GUI tools in it.

  • @nikoladjordjevic4477
    @nikoladjordjevic4477 4 месяца назад

    Ahh Pascal, I learned to program in it. You just brought back some happy loving memories from high school :)

  • @EdwardChan.999
    @EdwardChan.999 4 месяца назад +1

    YES! As a Pascal programmer it's an exciting video.

  • @denizural5390
    @denizural5390 4 месяца назад +6

    RIP Prof. Wirth 😥

  • @AdidasDoge
    @AdidasDoge 4 месяца назад +4

    Another language to add to my resume

  • @true_visual
    @true_visual 4 месяца назад

    I was waiting for this! Pascal was my very first programming language in High School!

  • @wisteela
    @wisteela 4 месяца назад +1

    Great to see this covered

  • @user-og4np5ye2v
    @user-og4np5ye2v 4 месяца назад +3

    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 месяца назад +1

      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 месяца назад +1

      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 :)

  • @crazychickengd
    @crazychickengd 4 месяца назад +12

    He still writes “Hi mom” instead of “hello world” 😭

    • @Mateus707_2
      @Mateus707_2 Месяц назад

      Hello World 🤮🤮🤮🤮
      Hi mom 🍷🗿

  • @KrisKamweru
    @KrisKamweru 4 месяца назад

    I remember learning this as one of my first forays into programming. Legend of a language

  • @sandbox_beast3846
    @sandbox_beast3846 4 месяца назад

    Thank you so much for making this video ❤

  • @EduardKaresli
    @EduardKaresli 4 месяца назад +3

    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.

  • @DavidCZ2051
    @DavidCZ2051 4 месяца назад +5

    They still teach us Pascal in school 💀

  • @foo0815
    @foo0815 4 месяца назад

    Loved the REPEAT ... UNTIL construct. Clearest loop description ever.

  • @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! :)

  • @EvilTim1911
    @EvilTim1911 4 месяца назад +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...

  • @user-gp9xg9um7v
    @user-gp9xg9um7v 4 месяца назад +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 3 месяца назад

      @@QuickTipsTV-hk8xt чел реально думает что паскаль используют из-за санкций (а не потому что школьная программа устарела на 20 лет)

  • @Glenn.Cooper
    @Glenn.Cooper 4 месяца назад

    Your channel is just perfect! I hope you never change a thing...

  • @edbrito-swdev
    @edbrito-swdev 4 месяца назад +2

    I've learned Pascal when I was in Highschool (in 1999 or 1998). It was cool and, of course, we were using Turbo Pascal. I had actually had used Delphi in middle school, on my last year. Got also to do some development with Turbo Pascal and Allegro; that was also a nice mix.
    Nowadays, because the language can be implemented with a LL(1) parser, there are still some embedded systems that have Pascal supporting them. I can't name anything from the top of my head but when I was writing my master's thesis (that was about formal verification of sequential code written in SPARK/Ada) I read some things about that too.

  • @GaborGubicza
    @GaborGubicza 4 месяца назад +3

    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!

  • @michaelgfalk
    @michaelgfalk 4 месяца назад +3

    "Hi Mom!" 😢

  • @piano_arts_2007
    @piano_arts_2007 4 месяца назад

    Finally
    I was waiting for this
    Thx!

  • @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

  • @readyplayer2197
    @readyplayer2197 4 месяца назад +3

    God, we Swiss dudes are just amazing.

  • @christianremboldt1557
    @christianremboldt1557 4 месяца назад +5

    1:27 how sweet🥲

  • @Synena
    @Synena 4 месяца назад

    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

  • @magnusmarkling
    @magnusmarkling 4 месяца назад

    Oh the memories this brings back! This is why my carreer got all started.

  • @robertkiestov3734
    @robertkiestov3734 4 месяца назад +8

    C is the best

    • @crackedEgg
      @crackedEgg 4 месяца назад

      Rust is better

    • @BroussaYt
      @BroussaYt 4 месяца назад

      Pipimann>

    • @robertkiestov3734
      @robertkiestov3734 4 месяца назад +1

      @@crackedEgg
      >cracked egg
      >rust is better
      The jokes right themselves.. 🏳️‍⚧️

    • @Bagnesium
      @Bagnesium 4 месяца назад +2

      No

    • @Scrolte6174
      @Scrolte6174 4 месяца назад +3

      @@crackedEgg No, Rust is garbage

  • @badis465
    @badis465 4 месяца назад +3

    1:33 "Hi mom!" It really hurts 😢

  • @lovesosiska
    @lovesosiska 4 месяца назад

    great video, we were learning programming on turbo pascal even in 2013 in russian school, and it was very interesting as a first programming language

  • @christianjansson6806
    @christianjansson6806 4 месяца назад +2

    I really loved programming in Turbo Pascal early 90:ies. The best thing was that you could write inline assembler to really optimize functions and also hook on low level interrupts to have full control of keyboard and mouse inputs. Nowadays, I guess you could write the same code in javascript, and have better performance than back then! 🙂 Also, this was the first language/IDE I used to get syntax highlighting. I thought it was really cool to get those purple, yellow and white features. All written on blue background of course! Damn, I miss those days sometimes!

  • @akaizn
    @akaizn 4 месяца назад

    I learned how to code with Pascal and Turbo Pascal back in 2010. THANK YOU! 😢

  • @outtabubblegum7034
    @outtabubblegum7034 4 месяца назад

    Adorable! 🥰
    Looks way easier than I expected.

  • @AlistairKarim
    @AlistairKarim 4 месяца назад +1

    Pure nostalgia. Also, don't recall any problems or annoyances with Pascal. Smooth and fine.

  • @SnackLive
    @SnackLive 4 месяца назад +2

    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.

  • @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 месяца назад +1

    As someone who used Delphi specifically in my high school IT class. This has a special place in my heart.

  • @tarapogancev
    @tarapogancev 4 месяца назад +1

    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 месяца назад +1

      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!

  • @svenvancrombrugge9073
    @svenvancrombrugge9073 4 месяца назад +1

    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.