Pascal in 100 Seconds

Поделиться
HTML-код
  • Опубликовано: 26 дек 2024

Комментарии • 1,4 тыс.

  • @sonmangaking
    @sonmangaking 11 месяцев назад +3612

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

    • @stefanalecu9532
      @stefanalecu9532 11 месяцев назад +56

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

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

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

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

    • @norude
      @norude 11 месяцев назад +31

      *Rust in peace

    • @Pixelcrafter_exe
      @Pixelcrafter_exe 11 месяцев назад +20

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

  • @samplefx1
    @samplefx1 11 месяцев назад +787

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

      Did not know that, that's awesome

    • @anmolsharma4049
      @anmolsharma4049 11 месяцев назад +23

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

    • @piotralex5
      @piotralex5 11 месяцев назад +60

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

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

      TotalCommander as well.

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

  • @ThePouetman
    @ThePouetman 11 месяцев назад +2573

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

    • @michalbotor
      @michalbotor 11 месяцев назад +304

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

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

      @@michalbotor Lua would like a word

    • @coder2k
      @coder2k 11 месяцев назад +250

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

    • @civilroman
      @civilroman 11 месяцев назад +90

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

      @@coder2kThat hit hard.

  • @luk318
    @luk318 11 месяцев назад +139

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

    • @aleksandarstevanovic5854
      @aleksandarstevanovic5854 11 месяцев назад +13

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

    • @fburton8
      @fburton8 11 месяцев назад +11

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

      Ditto!

    • @jean-naymar602
      @jean-naymar602 6 месяцев назад

      @@fburton8 Are you talking about RAD studio ?
      I have nothing against the langage itself or the delphi API, but man is the IDE garbage...

    • @fburton8
      @fburton8 6 месяцев назад

      @@jean-naymar602 The Delphi 7 IDE isn't called RAD Studio, just "the Delphi IDE" (I think). I admit that I have only used the Delphi XE5 version of RAD Studio for comparison. It seems pretty much the same as the Delphi 7 IDE in terms of functionality, apart from being slower and a little more visually distracting perhaps. In your view, how is it lacking?

  • @wlockuz4467
    @wlockuz4467 11 месяцев назад +2181

    I love how its syntax feels oddly "modern"

    • @sweetink4453
      @sweetink4453 11 месяцев назад +656

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

    • @remcogreve7982
      @remcogreve7982 11 месяцев назад +106

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

      I think it also because pl/sql uses similar syntax

    • @0xff0000
      @0xff0000 11 месяцев назад +96

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

      It was because of Pascal that it feels that way

  • @GyroCannon
    @GyroCannon 11 месяцев назад +49

    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

  • @gwerneckpaiva
    @gwerneckpaiva 11 месяцев назад +165

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

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

      I came looking for this comment

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

      Same

    • @thatsalot3577
      @thatsalot3577 11 месяцев назад +8

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

  • @MikeM8891
    @MikeM8891 11 месяцев назад +216

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

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

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

    • @MikeM8891
      @MikeM8891 11 месяцев назад +8

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

    • @Krokoklemmee
      @Krokoklemmee 11 месяцев назад +20

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

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

      ​@@Krokoklemmeeyeah the comparison doesn't scale

  • @flippert0
    @flippert0 11 месяцев назад +126

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

  • @NarayanLoke
    @NarayanLoke 11 месяцев назад +87

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

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

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

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

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

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

      what happened

  • @noblemode
    @noblemode 11 месяцев назад +193

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

      This applies to Greece too

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

      and Portugal

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

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

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

      Same with south africa

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

      Same in Tunisia 😊

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

  • @otakuotaku6774
    @otakuotaku6774 11 месяцев назад +1310

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

    • @automatic241
      @automatic241 11 месяцев назад +51

      It's rough, trust me

    • @ATTI0822
      @ATTI0822 11 месяцев назад +122

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

    • @foxtrot000
      @foxtrot000 11 месяцев назад +14

      My dad had to use it i think he didn’t like it that much 😂 he’s a computer scientist now tho

    • @ghaith2580
      @ghaith2580 11 месяцев назад +38

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

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

  • @pedrojuglar
    @pedrojuglar 11 месяцев назад +13

    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!

  • @Zashxq
    @Zashxq 11 месяцев назад +297

    fun fact, the original Tetris game was ported to PC using Turbo Pascal, which eventually led to its widespread popularity

    • @gagagero
      @gagagero 11 месяцев назад +1

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

  • @TobyDeshane
    @TobyDeshane 11 месяцев назад +57

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

      demo scene in Pascal? can't even imagine

    • @RealFableFox
      @RealFableFox 11 месяцев назад

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

      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

  • @strawberry_blush81
    @strawberry_blush81 11 месяцев назад +280

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

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

      Same here bro

    • @Turalcar
      @Turalcar 11 месяцев назад

      Same. Not in the 80s though. I started in 2001.

  • @EvanEdwards
    @EvanEdwards 11 месяцев назад +92

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

      If you love it so much why don't you marry it? /jk

    • @weakmindedidiot
      @weakmindedidiot 11 месяцев назад

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

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

      Next time poor Sirus will think twice before writing a stupid joke.

    • @weakmindedidiot
      @weakmindedidiot 11 месяцев назад

      @@EvanEdwards That's rough. I hope you loved every minute you got to spend with Sarah. In the end, that's all we get.

  • @phrous
    @phrous 11 месяцев назад +29

    This language made me fall in love with programming

  • @bradskaw
    @bradskaw 11 месяцев назад +90

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

  • @erc0re526
    @erc0re526 11 месяцев назад +173

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

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

    • @Mempler
      @Mempler 11 месяцев назад +7

      ​@@FlrereLOL

    • @pavelperina7629
      @pavelperina7629 11 месяцев назад

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

      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 😊

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

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

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

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

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

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

      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.

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

  • @dansanger5340
    @dansanger5340 11 месяцев назад +20

    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.

  • @АлександрБлажков
    @АлександрБлажков 11 месяцев назад +15

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

      Soviet Pascal?

    • @oleg4966
      @oleg4966 11 месяцев назад

      @@victorpinasarnault9135 A special dialect of the language where classes and private properties technically still exist, but are considered a code smell.

    • @tobyboulton8340
      @tobyboulton8340 11 месяцев назад

      so effectively Привет, мир

    • @CruxDiaries
      @CruxDiaries 11 месяцев назад

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

    • @АлександрБлажков
      @АлександрБлажков 11 месяцев назад

      @@victorpinasarnault9135 Pascal book that was translated into Russian in Soviet Union

  • @iyar220
    @iyar220 11 месяцев назад +15

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

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

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

  • @vjlkof
    @vjlkof 11 месяцев назад +2

    I learned programming with this language. I love it.

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

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

  • @qwesx
    @qwesx 11 месяцев назад +16

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

      Could this be a workaround way of making enums?

    • @MikeM8891
      @MikeM8891 11 месяцев назад +2

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

      So you can actually write portable software with exact same computations and variable ranges, unlike C?

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

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

  • @BalduinoFernando
    @BalduinoFernando 11 месяцев назад +8

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

  • @codecaine_
    @codecaine_ 11 месяцев назад +3

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

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

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

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

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

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

  • @r_y_4557
    @r_y_4557 11 месяцев назад +90

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

      lol finally

    • @stefanalecu9532
      @stefanalecu9532 11 месяцев назад +11

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

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

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

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

  • @Mempler
    @Mempler 11 месяцев назад +26

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

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

    Love the 100 seconds series!!! Thank you!

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

  • @doigt6590
    @doigt6590 11 месяцев назад +51

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

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

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

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

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

  • @NoonStone
    @NoonStone 11 месяцев назад +7

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

      Man, ladder programming deserves a special place in hell. I had to suffer through a whole semester

  • @adamsfusion
    @adamsfusion 11 месяцев назад +8

    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.

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

      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

  • @LeonardoPinto
    @LeonardoPinto 11 месяцев назад +1

    It triggered a Delphi related PTSD that I didn't know I had, thanks!

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

  • @demonwithglasshand
    @demonwithglasshand 11 месяцев назад +1

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

      Lol. I wish them happy learning. Pascal the best!

    • @demonwithglasshand
      @demonwithglasshand 11 месяцев назад

      @@szerednik.laszloyep, I came from assembly language 68000 to (turbo) pascal as my first high level language, absolutely loved it 👍

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

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

  • @donwinston
    @donwinston 11 месяцев назад +2

    Delphi was awesome. I was a Pascal/Delphi programmer for four years until Java came along and wiped it out along with Smalltalk which I also was into at the time. I have forgotten all about Pascal until this video.

    • @utubes720
      @utubes720 11 месяцев назад +1

      That shift to everything in Java ruined programming for me. I was having a blast in other languages, but every Enterprise where I was in the USA went full on "Java only". C/C++ was OK but not as much fun, I wasn't going to touch the legacy Cobol or Fortran stuff, and C# wasn't even invented yet.
      At least Web 1.0 had sanity and was fun, before going insane with weird Web 2.0 JS frameworks forcing square peg apps into round hole browser tech. Now the "new" thing is everyone finally realizing "hey, maybe we should render most of this on the server so browsers can do what browsers do best, like Web 1.0 used to do" 😅

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

    My first programing language :) memories

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

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

  • @SwimmingInSeas
    @SwimmingInSeas 11 месяцев назад +28

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

    • @honorous4840
      @honorous4840 25 дней назад

      That's why I still use Delphi 7 lol.

  • @Iymabot
    @Iymabot 11 месяцев назад +1

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

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

    pls ADA language next!! 100 seconds series is awesome

  • @jackotrades75
    @jackotrades75 11 месяцев назад +2

    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

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

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

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

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

  • @kennedymwenda3357
    @kennedymwenda3357 7 месяцев назад +1

    Turbo Pascal and Visual Basic 6 were my first programming languages

  • @EdmondDantèsDE
    @EdmondDantèsDE 11 месяцев назад +7

    Delphi was my first programming language.

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

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

  • @crazychickengd
    @crazychickengd 11 месяцев назад +13

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

    • @Mateus707_2
      @Mateus707_2 8 месяцев назад

      Hello World 🤮🤮🤮🤮
      Hi mom 🍷🗿

  • @CruxDiaries
    @CruxDiaries 11 месяцев назад

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

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

  • @jimjamz.
    @jimjamz. 11 месяцев назад +1

    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.

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

    Another language to add to my resume

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

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

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

    RIP Prof. Wirth 😥

  • @dao-lam
    @dao-lam 11 месяцев назад

    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

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

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

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

      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.

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

    I am a Pascal developer and I make apps in Delphi. With It you can compile to Windows, MacOS, Linux, Android IOS and basically everything. It's great!

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

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

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

  • @RobotBoyZzz
    @RobotBoyZzz 9 месяцев назад

    Brings an amazing nostalgia reading that code. When I was 7 I was first taught to program in Pascal. It was a great time.

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

  • @dungaland
    @dungaland 11 месяцев назад +1

    Pascal is the first programming language i learnt(in college).
    Pascal inspired the creation of ruby on rails.
    Someone should create a Pascal-based web framework

  • @凍檸茶走冰-w9z
    @凍檸茶走冰-w9z 11 месяцев назад +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 11 месяцев назад +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 11 месяцев назад +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 :)

  • @nadirqg
    @nadirqg 11 месяцев назад

    I learned Pascal in my first CS Engineering year, I loved it, then hated it, then loved it again. What a ride.

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

    They still teach us Pascal in school 💀

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

      As if I were reading my own story, nostalgia hits hard! Hello from Hungary.

    • @tarapogancev
      @tarapogancev 11 месяцев назад

      ​@@szerednik.laszlo That's great to hear! 😁Hello to you too, neighbor!

  • @michaelgfalk
    @michaelgfalk 11 месяцев назад +6

    "Hi Mom!" 😢

  • @pedu71
    @pedu71 11 месяцев назад

    my first love with programming languages. So much better than basic before

  • @БронетемкинПоносец-х9ч
    @БронетемкинПоносец-х9ч 11 месяцев назад +4

    In Belarus we still learn algorithms with it

    • @QuickTipsTV-hk8xt
      @QuickTipsTV-hk8xt 11 месяцев назад

      Yeah, because life in your country kinda sucks under all these sanctions...

    • @prosto_voda
      @prosto_voda 10 месяцев назад

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

  • @user-fk9mo2ld6w
    @user-fk9mo2ld6w 7 месяцев назад +1

    Modern Programmable Logic Controllers (PLCs) support a Pascal derived language called Structured Text which is defined by IEC 61131-3

  • @Carlos-cm3ul
    @Carlos-cm3ul 11 месяцев назад +4

    0:11 watch out for jumpscare.

  • @utkua
    @utkua 8 месяцев назад +2

    Delphi and its VCL has been the best way to develop windows UI applications back in the day, in fact I think even today there is nothing as good.

    • @honorous4840
      @honorous4840 25 дней назад

      That's why I still use Delphi 7 or RAD Studio XE7 if I need C or C++.

  • @ares-q2n
    @ares-q2n 11 месяцев назад +3

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

  • @Fanmade1b
    @Fanmade1b 11 месяцев назад

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

  • @remboldt03
    @remboldt03 11 месяцев назад +5

    1:27 how sweet🥲

  • @narrei666
    @narrei666 11 месяцев назад +1

    was used to teach kids from 70's and 80's. yeah, im 98 and my first lang was pascal/lazarus.

  • @vicradon
    @vicradon 11 месяцев назад

    Paschal is such a beautiful creation. Thank you Niklaus Wirth. Rest in peace in programmer's heaven.

  • @davidprock904
    @davidprock904 11 месяцев назад +2

    I used Borland Delphi 7 for years.
    I have a copy of it. The single file installer is around 50 ish megabytes, but after installation takes up 400 some megabytes. That's a really good compression ratio, and it is a cracked copy that you do not have to activate or register a.k.a. pay for.

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

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

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

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

  • @juancruzc.degaetano7099
    @juancruzc.degaetano7099 11 месяцев назад +1

    Yeeeeeeeees, Pascal! I used this language to learn programming basics IN COLLEGE.

  • @Darhhaall
    @Darhhaall 11 месяцев назад +1

    I have graduated in high school with Pascal. Obviously, never seen it since, usefull stuff.

  • @CRBarchager
    @CRBarchager 11 месяцев назад +1

    I started learning Pascal in the mid 90'es in school. I remember getting an A+ on coding at the time.

  • @TamaraRitchieCyber
    @TamaraRitchieCyber 3 месяца назад

    I learned this in high school in the 90's and never used it. Time to refresh and add to my resume!