Making Minesweeper in COBOL

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

Комментарии • 75

  • @Truttle1
    @Truttle1  Год назад +4

    discord: discord.gg/EKPBjjUc65

    • @ZemanTheMighty
      @ZemanTheMighty Год назад +1

      Hey I saw you seeded your random variables with the system clock! Do you remember my little election simulator? I did that too. I’m glad that it wasn’t just my crackhead idea and that there’s literally no better way to do it.

    • @Vallee152
      @Vallee152 Год назад +1

      @@ZemanTheMighty doesn't Minecraft get its seed from the system clock if you don't specify it?

    • @ZemanTheMighty
      @ZemanTheMighty Год назад +1

      @@Vallee152 it does?! That’s a really cool fact

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

      ​@@ZemanTheMightySeeding the random number generator with system time is actually very common

  • @Lim95
    @Lim95 Год назад +84

    Can you believe it? Cobol. Just a week away!

    • @NickiRusin
      @NickiRusin Год назад +4

      cobol is in a week!

    • @sysy_ep
      @sysy_ep Год назад +2

      Cobol is in a week! Wooho! I'm so happy for this information
      Cobol, just a week away, oh wow
      Can you believe it? Cobol, just in a week!
      It got here so fast..
      Cobol. Just a week away!

  • @ZemanTheMighty
    @ZemanTheMighty Год назад +53

    Sometimes I feel like me and Truttle are the last COBOL coders of our generation. I love these videos

    • @Truttle1
      @Truttle1  Год назад +15

      I mean, if we’re in the same generation we might be the only 2 cobol programmers

    • @ZemanTheMighty
      @ZemanTheMighty Год назад +1

      @@Truttle1You are probably in my generation
      +- 5 years so I count it

    • @GeronKizan
      @GeronKizan Год назад +3

      I remember learning COBOL and advanced COBOL in my last two years of college before I graduated in 2002. I thought it was gonna be useful since I thought I was gonna be working around the area (Davenport, Iowa) where there were a lot of machines that still used it, especially at John Deere

  • @sameer1321
    @sameer1321 Год назад +23

    this video was very hard to watch due to my severe COBOL allergy, but I managed to watch it anyway
    Merry COBOL!!!

  • @xenonbox9393
    @xenonbox9393 Год назад +16

    How is it that whenever a Truttle1 video comes out the audio quality is always a gamble. Sometimes it's the quality of a good studio recording, sometimes it's like a soviet train station announcer.

  • @moltony
    @moltony Год назад +8

    its a great day when Truttle1 uploads 🎉

  • @betsyrocketram
    @betsyrocketram Год назад +3

    these videos are nice since my grandpa was actually a cobol coder! and when he told me that I actually knew what it was since I've seen your videos lol.

  • @HexOverride
    @HexOverride Год назад +3

    OH MY GOD ITS BACK YOOOOOOOOOOOOOOOOO!!!!!!!!!!!!

  • @vicr123
    @vicr123 Год назад +4

    Merry COBOL!!!

  • @kellybmackenzie
    @kellybmackenzie Год назад +1

    Your videos are always really funny and I love the effort you put into the little animations! You deserve a lot more views!

  • @Ramonatho
    @Ramonatho Год назад +8

    Cobol seems shockingly usable in a world full of functions with names so similar, like p=+p.

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

    In 1992 I got a job at Oracle. They had a weird technology called OCI that let you write database code intermixed with normal programming language statements. My job was to write example programs for OCI in various languages. Since I was the new kid on the block, I got all the obsolete languages, including COBOL. Even in the 90s COBOL was already old news. Just finding a compiler for a Sun workstation was a pain in the behind. There was no Internet so you couldn't look up where one might be. I did find one eventually on an FTP server somewhere. Then I had to teach myself COBOL, or at least enough to get the job done. I had managed to successfully block out all memory of what it looked like or how it worked. Then I watched your video. I will be sending you a bill from my psychiatrist, sorry about that.

  • @IceMetalPunk
    @IceMetalPunk Год назад +24

    In modern JavaScript, hoisting doesn't have to happen, if you just use const and let for all your variables -- which I absolutely do and 100% recommend any JS dev do. Even though I've been a JS dev for 21 years, hoisting has always been the dumbest feature of the language to me.
    (Speaking of 21 years... did you have to remind us that you were born after 2000, to make me feel ancient? 😔)

  • @BeconIsYeck
    @BeconIsYeck Год назад +1

    glad to see you again during the holidays

  • @retroboi128thegamedev
    @retroboi128thegamedev Год назад +1

    Ancient mines from the days of COBOL placed across the board,
    The process of sweeping those mines started back in 1989
    We are still sweeping mines to this day.

  • @CrippleX89
    @CrippleX89 Год назад

    Merry COBOL, Truttle1!

  • @scliffbartoni9771
    @scliffbartoni9771 Год назад +1

    Omg happy cobol to all

  • @lior_haddad
    @lior_haddad Год назад +2

    3:38 python also does this... the only difference is that javascript's `var` keyword is old and deprecated, and allows you to use an uninitialized variable.

    • @lior_haddad
      @lior_haddad Год назад +1

      I will gladly accept javascript slander (js suc) but this one's rather unfounded

  • @Vallee152
    @Vallee152 Год назад +1

    5:02 I'm just built different. I constantly ask for permission for even the smallest things and it's extremely difficult to apologise

  • @Mrcake0103
    @Mrcake0103 Год назад +2

    Wait, no recursion? Are we _sure_ this thing’s actually Turing Complete?
    Like, how would you try to compute Ackerman’s function in COBOL?

    • @Truttle1
      @Truttle1  Год назад +4

      I’m pretty sure all recursive functions can be written iteratively so it should be possible

    • @everynametaken
      @everynametaken Год назад +3

      It was made before stacks were a thing on most computers, so subroutines didn't allow recursion (nor was recursion really a thing for any language of the time). Technically there is a RECURSIVE keyword, but it doesn't appear to have caught on. Recursion isn't needed for Turing-completeness, once you get down to it it's basically replaceable with a GOTO.

    • @raskr8137
      @raskr8137 Год назад +2

      @@everynametaken That really speaks to how old the language is since stacks have become a common built-in processor feature way back in the 80s

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

      @@Truttle1 you are correct! One of the first things I learned in my high school algorithms class back in the mid 1980s. This served me well in my first job out of college programming 6502 assembly language. I had to convert spreadsheet equations in reverse Polish notation to infix notation. A C programmer I worked with recommended I use a recursive function.. I told him "to hell with that. I'm not writing recursion in assembly language." Luckily, I remembered my high school class and even better, I still had my textbook which had a description of how you do this exact conversion without using recursion. (The answer is two stacks). I was so pleased when I actually got it to assemble and run correctly! 30+ years later, this is still one of the standout moments of my career.

  • @Rignchen
    @Rignchen Год назад

    Merry Cobol!

  • @kornsuwin
    @kornsuwin Год назад

    oh god he's still doing it

  • @zoltanpataki1307
    @zoltanpataki1307 7 месяцев назад

    The way picture is defined makes sense when you read or write formatted data.
    PICTURE IS 9999/99/99 can be used for dates. when printing the value, the / will be printed automatically.
    Another example is Z vs 9. If you have 999, leading zeros will be printed if the number does not use all decimal places. ZZ9 will supress leading zeros by getting printed as spaces.
    You are not directly defining what the variable holds, but what should it look like. i.e. the picture of it.

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

    Great content! Subbed!

  • @imperiallegionnaire8344
    @imperiallegionnaire8344 Год назад

    Aparently my Grandfather knew Cobol. He apparently used it reorganize his bookstore.

  • @jacobusburger
    @jacobusburger Год назад

    At this point I’m convinced Truttle1 IS the last COBOL programmer.
    But seriously, how did you learn to do this?

  • @n8chz
    @n8chz 7 месяцев назад

    I coded reversi (Othello) in Cobol, also that snake thing. That was a long time ago.

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

    guess who deserves waaaay more attention because the content produced by that person is extremely entertai- yeah it's Truttle1

  • @Minzmango
    @Minzmango Год назад

    the bowser inside story ost gave me instant nostalgia

  • @cheesuschrist300
    @cheesuschrist300 Год назад +1

    yes!!! cobol

  • @vodam6970
    @vodam6970 Год назад +1

    yay, my video idea got made!
    just because i tried making minesweeper in C

  • @lalalifull
    @lalalifull Год назад

    In Japan, some bank accounts are managed by COBOL yet…
    Some old people say “traditions”.

  • @iamboredfor2months
    @iamboredfor2months Год назад

    1:22 this is so cool and funny
    hi truttle

  • @jasperthegamemaster9237
    @jasperthegamemaster9237 Год назад

    I have a song for these videos have a hairy scary COBOL and in case you weren't in fear have a hairy scary COBOL this year

  • @jayman1462
    @jayman1462 Год назад

    MERRY COBOL!!!

  • @Scudmaster11
    @Scudmaster11 Год назад +1

    How about SNOBOL now?

  • @yb1_
    @yb1_ Год назад

    yay more videos

  • @WlodekM3
    @WlodekM3 14 дней назад

    dear god can someone tell truttle about the let keyword i havent seen var used in years (except for SO answers)

  • @gargamel3478
    @gargamel3478 Год назад +1

    Damn do you always code in COBOL on Christmas?

  • @nnnArchive
    @nnnArchive Год назад

    I’m working on using cosmos to make an OS in C#!

  • @CrushedAsian255
    @CrushedAsian255 Год назад

    Sorry I don’t know what happened to my membership, take this ❤😊😊

  • @JDoawp
    @JDoawp Год назад +1

    Super interesting video, but that mic clipping at 7:35 made my ears bleed.

  • @kronostitananthem
    @kronostitananthem Год назад +1

    How did you get a MicroFocus visual COBOL 30 day free trial twice (one for Breakout and one for TicTacToe)?

  • @logicroar
    @logicroar Год назад

    truttle please do Plankalkül

  • @onepersonintheuniverse
    @onepersonintheuniverse Год назад

    1:40 discord liGHT MODE?!

  • @williamist
    @williamist Год назад

    i like cobol

  • @skr-kute1677
    @skr-kute1677 Год назад

    quite funny XD

  • @Nbrother1607
    @Nbrother1607 Год назад

    literally compared 3 trillon dollars to 12 wario's 😂

  • @DemigirlM-tm4rb
    @DemigirlM-tm4rb 8 месяцев назад

    1 Wario ≈ 250b USD

  • @YEWCHENGYINMoe
    @YEWCHENGYINMoe Год назад +1

    1h ago

  • @YEWCHENGYINMoe
    @YEWCHENGYINMoe Год назад +1

    229 views

  • @juliang9574
    @juliang9574 Год назад +6

    Can you believe it? Cobol. Just a week away!

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

    Merry COBOL!!