The Dark Art of Programming - Writing Cursed Code

Поділитися
Вставка
  • Опубліковано 22 жов 2024

КОМЕНТАРІ • 26

  • @newogame1
    @newogame1 11 місяців тому +3

    Since I have been using C the worst thing that has happened in the wii got stuck in a buzz loop. I just held the power button down for 5 seconds.

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

    Oh snap this channel is cool! I got legit excited when i saw how many videos youve already made. I've already added like 5 to my watch later which means watch today lol

  • @willofirony
    @willofirony 11 місяців тому +3

    The curious effect that learning , say, Pearl are any of these esoteric languages is, once learnt, the student loudly insists that all programming must be written in that bat crazy language. It is only when one reads the assembly generated by the compiler (thanks to Godbolt's Compiler Explorer), that one can judge a language.

    • @partypooper2591
      @partypooper2591 11 місяців тому +1

      Strangely, I find I have no desire to read neither Perl nor assembly language for lulz.
      COBOL, supposedly, is easy to read and wicked fast, but apparently, few people want to program in COBOL nowadays. Not sexy enough, I suppose.
      There's supposedly an unfulfilled demand for COBOL programmers now.

  • @jaybeemods
    @jaybeemods 11 місяців тому +4

    and there was me thinking that Javascript and PHP were the thing of nightmares. I hadn't heard of these other languages and whats the deal with making code unreadable? lol. Very interesting video James. :)

    • @partypooper2591
      @partypooper2591 11 місяців тому +1

      C code, in particular, can be written so it _works_ but nobody can understand it later.
      This is known as "write-only" code.
      Somebody with a VERY twisted sense of humour, came up with the idea of pushing this to the max, hence the Obfuscated C contest.
      Having worked as a maintenance programmer, I have spent countless cold hours trying to figure out SOMEBODY ELSE's CODE (SEC).
      Not fun, especially when English is not the first language of that SOMEBODY and whatever comments that exist, are written in a foreign language.
      So, not only obfuscated C but obfuscated comments as well. Sigh.

  • @dingokidneys
    @dingokidneys 11 місяців тому

    That was a lot of fun. I was very interested in Forth for a while as I'd been big into HP RPN calculators at school/uni in the late 1970's. But I really got into Perl. I used it a lot in my job as an accountant (I kid you not) for converting data and producing custom reports from data on our Solaris Unix machines. It helped me migrate financial data to new systems. I loved it, cursed though it may be.

  • @derekchristenson5711
    @derekchristenson5711 6 місяців тому +1

    LOL, this video was great fun, even though I didn't get around to watching it "in season." 🤣 I swear that language like "BF" exist just to piss me off every time someone decides to troll (I assume) a serious programming discussion by submitting some nonsense written in it. I also would not be surprised to learn that the whole "Obfuscated C" group was actually founded by the Devil himself, to lead the faithful computer scientists astray. ;-)

  • @JustinBellingerTV
    @JustinBellingerTV 11 місяців тому +4

    Without the intention to push hyperbole, this is the best video I've seen this year. Brilliantly done, thank you!

  • @wisteela
    @wisteela 11 місяців тому

    Excellent video. I'd love to see you cover COBOL.

  • @partypooper2591
    @partypooper2591 11 місяців тому +2

    Thank you for sharing that video!
    I remember the Obfuscated C Contest in Dr Dobb's Journal back in the day when I was a C programmer (being paid for writing C code = impostor syndrome!)
    Damn, C can be obscure!
    It took me YEARS to finally understand pointers. And even now I have to think a bit to follow them. GAD!
    But you didn't mention GW-BASIC!
    GW-BASIC programs with READ and DATA statements FTW!!
    How more classically masochistic can you be than to use GW-BASIC?
    It's like whipping yourself with barbed wire while pulling your teeth out with a pliers!!
    And my brother actually wrote a database program that way!
    And he got it to run for 10 years in a PRODUCTION environment!
    Talk about job security built in! :)
    Every other language in the world is better than GW-BASIC with READ and DATA statements!
    First, Bill Gates steals BASIC from Dartmouth and then he strips it of anything even remotely useful and then, READ and DATA statements. Well, if that doesn't prove he's demonic, nothing will! :)
    Never mind the kids letting down your tyres (which happened to me once, too), the real horror on Halloween is Bill Gates knocking on your door, dressed as Death, making you write a program in GW-BASIC!!

    • @wisteela
      @wisteela 11 місяців тому +1

      I love GW-BASIC etc.

    • @benholroyd5221
      @benholroyd5221 11 місяців тому +1

      Re c pointers.
      Yes. Assembly, I have no problem with pointers. C I always have to think. I think the problem is that assembly just treats everything as a number so is consistent when I want to treat it as a pointer. C sometimes treats pointers differently and sometimes not, so I still have to remember it's a pointer, as well as remembering edge cases.

  • @TroyFletcherKeyboards
    @TroyFletcherKeyboards 11 місяців тому +3

    Can confirm. Video is scary. Something very ominous about a perl array that doesn't even have a name.
    Emojicode? This sounds like APL with more steps.

  • @Alex-jb5tb
    @Alex-jb5tb 5 місяців тому

    Cool lecture !

  • @replikvltyoutube3727
    @replikvltyoutube3727 11 місяців тому +4

    How about APL?

    • @stevetodd7383
      @stevetodd7383 11 місяців тому +3

      Seconded. It’s described as a write only language and requires a special keyboard.

    • @derekchristenson5711
      @derekchristenson5711 6 місяців тому +1

      Do not speak that evil name here! It is the creation of darkness! Truly, it is a cursed programming language, dreamed up by the mad followers of Cthulhu.

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

    Programming a microcontroller in C? Disgusting! What's wrong with assembly language?! ;)

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

    APL?!

  • @jeremiahblum7833
    @jeremiahblum7833 11 місяців тому

    😆

  • @InfiniteBrain
    @InfiniteBrain 11 місяців тому +1

    C--.

  • @Lucretia9000
    @Lucretia9000 11 місяців тому +2

    You're wrong that C is the best language and you even say why it isn't.