Procedural Programming: It’s Back? It Never Went Away - Kevlin Henney [ACCU 2018]

Поділитися
Вставка
  • Опубліковано 12 січ 2025

КОМЕНТАРІ • 16

  • @7alken
    @7alken Рік тому +7

    excellent; everything has been said before; but since nobody listens, we must always start again;

  • @JiveDadson
    @JiveDadson 6 років тому +6

    My first program was also FORTRAN, specifically FORTRAN IV in 1971 for IBM 360-44. It was a plotting program for a line printer. But I did have occasion to write a leap-year detector for the same shop. It was called the Engineering Systems Simulation Laboratory at the University of Houston. We had nifty stuff like an analog computer and disk drives the size of washing machines. One of our card-punch consoles printed the characters right on the cards, which made it really easy to know when you typed a wrong key. I visited the place in the mid 80's. They were still using that plotting format. They had lost the punch cards that printed the documentation, so everyone shared a dirty, dog-eared copy.

  • @DanielLiljeberg
    @DanielLiljeberg 6 років тому +4

    Curly brackets on a Swedish keyboard is Alt-7 and Alt-0, square brackets are Alt-8 and Alt-9 and parenthesis are Shift-8 and Shift-9... Granted I have lived with it my entire life, but I hardly find it mindbogglingly confusing :)

    • @bloody_albatross
      @bloody_albatross 5 років тому +4

      I bet he was thinking of Swedish Mac keyboards? My native language is German, and every time I have to do something on a Mac I get angry: They put [ ] { } on different places than on the German PC keyboards *and more importantly* they don't label the keys! WTF?! Also the hand motion to type an @ on a German PC keyboard closes the current window on a Mac (AltGr+Q -> CMD+Q). Are they doing that deliberately?

  • @quboid42
    @quboid42 6 років тому +5

    The Bret Victor talk mentioned at ~1:14:39 would appear to be: ua-cam.com/video/8pTEmbeENF4/v-deo.html

  • @jeffreymagedanz8130
    @jeffreymagedanz8130 3 роки тому +13

    That's not a real goto example. You haven't seen real gotos unless you've seen a multi-thousand line subroutine, with several dozen gotos jumping to random points scattered throughout the whole subroutine.

    • @BillDavies-ej6ye
      @BillDavies-ej6ye Рік тому

      Oh, yes...

    • @sillymesilly
      @sillymesilly 6 місяців тому

      why would anyone use goto when we are not artificially restricted by memory size?

  • @SunMasterXIV
    @SunMasterXIV 2 роки тому

    My {}[] has been located in the same position on my norwegian layout keyboard for the last 30+ years - no confusion :-)

  • @robinpage2730
    @robinpage2730 2 роки тому +5

    I've never understood the aversion to goto. Even if it did really produce spaghetti code, spaghetti is delicious. There are over 100,000 goto's in the Linux kernel. If it's good enough for Linus, it's good enough for me

    • @edgeeffect
      @edgeeffect 2 роки тому

      If it's good enough for Linus... there's still miles and miles of room for improvement. Been using Linux for nearly 30 years, Git for 20-ish years.... They're better than the other stuff that we had before but...

    • @llothar68
      @llothar68 Рік тому +1

      @@edgeeffect the improvement to goto exist. It is called comefrom

    • @etodemerzel2627
      @etodemerzel2627 10 місяців тому

      Any idea how many of those gotos are used for cleanup logic? Those can be replaced nicely with defer.

  • @swedishpsychopath8795
    @swedishpsychopath8795 3 місяці тому +1

    So this swedish person didn't feel the need to mention the Norwegian SIMULA-67 that invented Object Oriented Programming OOP?

    • @alst4817
      @alst4817 2 місяці тому

      Swedish? The guy’s obviously English

    • @GH-oi2jf
      @GH-oi2jf 16 днів тому

      It was mentioned.