Making Minesweeper in COBOL

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

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

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

    discord: discord.gg/EKPBjjUc65

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

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

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

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

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

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

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

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

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

      cobol is in a week!

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

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

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

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

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

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

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

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

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

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

      get well soon 🙏

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

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

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

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

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

    its a great day when Truttle1 uploads 🎉

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

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

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

    Merry COBOL!!!

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

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

    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.

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

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

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

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

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

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

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

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

    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.

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

    Omg happy cobol to all

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

    glad to see you again during the holidays

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

    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

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

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

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

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

    Merry COBOL, Truttle1!

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

    the bowser inside story ost gave me instant nostalgia

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

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

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

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

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

    oh god he's still doing it

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

    yes!!! cobol

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

    How about SNOBOL now?

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

    Merry Cobol!

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

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

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

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

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

    MERRY COBOL!!!

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

    1:22 this is so cool and funny
    hi truttle

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

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

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

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

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

    yay more videos

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

    truttle please do Plankalkül

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

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

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

      different emails

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

      @@Truttle1so the same way anybody else has ever gotten two free trials 😂

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

      thanks@@Truttle1

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

    i like cobol

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

    Damn do you always code in COBOL on Christmas?

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

    1:40 discord liGHT MODE?!

  • @skr-kute1677
    @skr-kute1677 11 месяцев назад

    quite funny XD

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

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

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

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

  • @MattM-tm4rb
    @MattM-tm4rb 5 месяцев назад

    1 Wario ≈ 250b USD

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

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

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

    literally compared 3 trillon dollars to 12 wario's 😂

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

    1h ago

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

    229 views

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

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

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

    Merry COBOL!!