The Dark Art of Programming - Writing Cursed Code

  Рет қаралды 2,528

NCOT Technology

NCOT Technology

Күн бұрын

It's Halloween, programming is an art form and there's a darker side to it. Come with me in this fun video as I explore several languages that hate you and are trying to make your life difficult, before we go off down the rabbit hole and find some truly horrific examples of real programming.
There's languages that are hard to read, languages that are deliberately hard to understand with nonsensical rules and syntax. Then there's the true evil cooked up at 3am when programmers really need to get their job finished and nobody cares how they get it done.
No, this video is not just a trip through the Esolangs website picking out the usual suspects, it gets far far worse. Did you ever think regular expressions were a good idea, or write CGI programs in Perl? Maybe you're a seasoned C programmer and have had a look at the madness on display in the Obfuscated C contest.
Support
-------
Support me by simply clicking the "like" button or pressing "subscribe"! That's it. No hard sell, just let me know you saw this video and thought it worth watching for more than 30 seconds. These videos take time and effort to make, and if people watch them they'll keep coming out.
If you think my efforts are worth a bit of pocket change, feel free to go to my Ko-fi link
ko-fi.com/ncot...
Credits
------------
Video by Dmitri Posudin: www.pexels.com...
Video by Bronze Digitals: www.pexels.com...
Video by Dimitar Dimitrov: www.pexels.com...
Video by Oleg Gamulinskii: www.pexels.com...
Video by Ehab El Gapry: www.pexels.com...
Horror, Violin Tremolo Cluster, B.wav - freesound.org/...

Пікірлер: 26
@newogame1
@newogame1 11 ай бұрын
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.
@willofirony
@willofirony 11 ай бұрын
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 ай бұрын
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 ай бұрын
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 ай бұрын
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.
@derekchristenson5711
@derekchristenson5711 6 ай бұрын
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. ;-)
@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
@JustinBellingerTV
@JustinBellingerTV 11 ай бұрын
Without the intention to push hyperbole, this is the best video I've seen this year. Brilliantly done, thank you!
@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.
@TroyFletcherKeyboards
@TroyFletcherKeyboards 11 ай бұрын
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.
@partypooper2591
@partypooper2591 11 ай бұрын
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 ай бұрын
I love GW-BASIC etc.
@benholroyd5221
@benholroyd5221 11 ай бұрын
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.
@wisteela
@wisteela 11 ай бұрын
Excellent video. I'd love to see you cover COBOL.
@edgeeffect
@edgeeffect 2 ай бұрын
Programming a microcontroller in C? Disgusting! What's wrong with assembly language?! ;)
@Alex-jb5tb
@Alex-jb5tb 5 ай бұрын
Cool lecture !
@replikvltyoutube3727
@replikvltyoutube3727 11 ай бұрын
How about APL?
@stevetodd7383
@stevetodd7383 11 ай бұрын
Seconded. It’s described as a write only language and requires a special keyboard.
@derekchristenson5711
@derekchristenson5711 6 ай бұрын
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 ай бұрын
APL?!
@jeremiahblum7833
@jeremiahblum7833 11 ай бұрын
😆
@InfiniteBrain
@InfiniteBrain 11 ай бұрын
C--.
@Lucretia9000
@Lucretia9000 11 ай бұрын
You're wrong that C is the best language and you even say why it isn't.
@partypooper2591
@partypooper2591 11 ай бұрын
Leave C alone! :)
Sinclair BASIC vs BBC BASIC - How to fit an entire devkit inside 64K
22:01
The Internet - Mid 90's Web Culture
23:22
NCOT Technology
Рет қаралды 4,7 М.
Fake watermelon by Secret Vlog
00:16
Secret Vlog
Рет қаралды 18 МЛН
World‘s Strongest Man VS Apple
01:00
Browney
Рет қаралды 69 МЛН
This mother's baby is too unreliable.
00:13
FUNNY XIAOTING 666
Рет қаралды 40 МЛН
Osman Kalyoncu Sonu Üzücü Saddest Videos Dream Engine 262 #shorts
00:20
Running "Hello World!" in 10 FORBIDDEN Programming Languages
18:07
FORTH - Better than BASIC?
14:30
NCOT Technology
Рет қаралды 40 М.
Programming Bitmap Graphics - Agon Light using C
27:50
NCOT Technology
Рет қаралды 1,9 М.
Simple, Non-Commercial, Open Source Notes
30:25
By Default
Рет қаралды 855 М.
Cellular Automata - Simulate life from chaos and code
13:15
NCOT Technology
Рет қаралды 1 М.
Agon Light C Programming - An Introduction
8:32
NCOT Technology
Рет қаралды 3,9 М.
1 Year of Developing My Game in Godot
19:19
Blargis
Рет қаралды 319 М.
The Computer Timeline: Calculators, Maths and Reverse Polish Notation
13:53
Fake watermelon by Secret Vlog
00:16
Secret Vlog
Рет қаралды 18 МЛН