cursed programming 5

  Рет қаралды 223,510

Cement Sandwich

Cement Sandwich

Күн бұрын

Пікірлер: 331
@stevesnoob
@stevesnoob Жыл бұрын
Funniest thing about the guessing game to me, is that "number" will always be a float, so you will pretty much always lose the game.
@FriedMonkey362
@FriedMonkey362 Жыл бұрын
Nice one Sherlock
@fbiagentmiyakohoshino8223
@fbiagentmiyakohoshino8223 Жыл бұрын
math.floor() math.ceil() ez
@unflexian
@unflexian Жыл бұрын
ALSO the os.remove uses unescaped backslashes, so you'll get an error for undefined ASCII character \W or something similar
@tbqhwyf
@tbqhwyf Жыл бұрын
Lose* "Loose" typically means "weakly attached". For example, a loose bicycle chain is a chain that isn't tensioned properly.
@stevesnoob
@stevesnoob Жыл бұрын
@@tbqhwyf Yeah, I accidentally made a grammatical error. Thanks for telling me!
@1everysecond511
@1everysecond511 Жыл бұрын
1:09 "I can offer you a battle you have no chance of winning..." - G-Man
@matheusguerrascheffer6518
@matheusguerrascheffer6518 Жыл бұрын
That one was brutal, the dude didn't even gave us a real chance...
@No0ne4ik
@No0ne4ik Жыл бұрын
import os?
@kiddsawesomechanel
@kiddsawesomechanel Жыл бұрын
Some poor guy who downloaded the code: “MY COMPUTER BROKE! WHY?!?” The person who wrote the code purposefully adding .000001 to the number: “No regrets, Mr. Freeman…”
@OctagonalSquare
@OctagonalSquare Жыл бұрын
I love the one of all the commits because you can tell which one finally actually worked
@cementsandwich
@cementsandwich Жыл бұрын
true
@AlanDarkheart
@AlanDarkheart Жыл бұрын
eslaf!@@cementsandwich
@Mateo-zi8ub
@Mateo-zi8ub Жыл бұрын
1:09 that is how harcore mode should work in video games
@DjKauzi
@DjKauzi Жыл бұрын
lol
@untodesu
@untodesu 7 ай бұрын
harcore
@memetech-
@memetech- 2 ай бұрын
os.remove()
@heart_locket2
@heart_locket2 Ай бұрын
"harcore" bro listened to the voices
@prosto_a_user
@prosto_a_user 29 күн бұрын
"harcore" bro is Minecraft Bedrock Edition dev
@matthewmitchell3457
@matthewmitchell3457 Жыл бұрын
The super dramatic Incredibles music really did it for me, enhances the sense of horror, and makes you appreciate Michael Giacchino all the more.
@cementsandwich
@cementsandwich Жыл бұрын
he's such a good composer
@1nwb-4dnws
@1nwb-4dnws Ай бұрын
Loves his OSTs for MOH
@jarrod752
@jarrod752 Жыл бұрын
This isn't cursed programming. This is job security.
@moralfuxery
@moralfuxery Жыл бұрын
0:18 I laugh now, but that was me at some point in the past. Fack you Python you beautiful bastard.
@proboiz_50
@proboiz_50 Ай бұрын
It doesn't only did the math bad , it even take the wrong input😂😂
@williamdrum9899
@williamdrum9899 Ай бұрын
I don't get it
@proboiz_50
@proboiz_50 Ай бұрын
@@williamdrum9899 what's the thing you don't get?
@psychoshaman
@psychoshaman Жыл бұрын
2:48 did this shit in class cuz I already knew c++ before we started learning it, teacher literally called me fucked up
@3RR0RNULL
@3RR0RNULL Жыл бұрын
Once I learn c++ I am going to do this.
@Xaim023
@Xaim023 2 ай бұрын
can you explain that to me? i tried looking it up but only got more confused
@psychoshaman
@psychoshaman 2 ай бұрын
@@Xaim023 you can alias most things using define, for example you can alias every command and sign in hello world so your whole program is made from just e letters and compilator translates every e's sequence to corresponding command
@Xaim023
@Xaim023 2 ай бұрын
@@psychoshaman thank you
@PAKTC
@PAKTC Жыл бұрын
2:16 basically any batch game in a nutshell
@thesinglemathnerd
@thesinglemathnerd Жыл бұрын
0:47 I wasted a good 5 minutes of my life translating the whole thing character by character only to be greeted with "the link" at the end
@thekaliss1
@thekaliss1 Жыл бұрын
What's "the link"?
@sciencefun5482
@sciencefun5482 Жыл бұрын
@@thekaliss1 never gonna give....
@KlaroNebulous
@KlaroNebulous Жыл бұрын
😂
@helloiamenergyman
@helloiamenergyman Жыл бұрын
​@@sciencefun5482I thought they meant goatse ngl ;_;
@puppergump4117
@puppergump4117 Жыл бұрын
They say when they broke Enigma it was those lyrics
@pegleg759
@pegleg759 Жыл бұрын
2:56 Most efficient Python program
@3RR0RNULL
@3RR0RNULL Жыл бұрын
And it even manages to run in less than 7 years!!1!1!1!1!!1!1!
@timothy1498_boi
@timothy1498_boi 6 ай бұрын
Yep, the efficient phyton program!!1!
@memetech-
@memetech- 2 ай бұрын
Look at it this way - where' C's pip? I can't pipc install something like I can in Python
@slugintub
@slugintub 2 ай бұрын
@@memetech- skill issue
@baranjan6969
@baranjan6969 Жыл бұрын
I feel bad for the hacker trying to analyze your program
@startea0412
@startea0412 2 ай бұрын
Well, analyzing or trying to understand others program is already a torture in some sort, so hacker signing himself for a torture😅
@onethegogd5783
@onethegogd5783 Жыл бұрын
3:00 when python heard you saying " python is slow "
@drennel3185
@drennel3185 Жыл бұрын
"Yes, I use a different editor for each language, why?" -someone on discord
@realsilver
@realsilver Жыл бұрын
jetbrains IDE-s be like
@lstuma
@lstuma Жыл бұрын
I mean I do because some don't support all syntax highlighting.
@novarender_
@novarender_ Жыл бұрын
This hurts
@aname2432
@aname2432 Жыл бұрын
This makes me uncomfortable
@kitchaos1118
@kitchaos1118 Жыл бұрын
3:00 Good to see that not even python can defeat the CPU hogging of chrome.
@Steel0079
@Steel0079 Жыл бұрын
Its sorted name wise in asc order. And chrome is at 0%. If it was more than python the power usage value for chrome would also say very high, whereas it says very low
@kitchaos1118
@kitchaos1118 Жыл бұрын
@@Steel0079 doesn't the cpu usage say 8 for chrome and 4 for the pythons?
@rysea9855
@rysea9855 Жыл бұрын
​@@kitchaos1118 It says 0. You can also tell by the fact that the box is a lighter shade of yellow
@gachispy
@gachispy Жыл бұрын
@@Steel0079 they were referring to "memory"
@link_safe
@link_safe Жыл бұрын
​@@rysea9855 Awesome, ty
@48exa
@48exa Жыл бұрын
These videos will never fail to be amazing
@end41r53
@end41r53 Жыл бұрын
legend here wtf
@PAKTC
@PAKTC Жыл бұрын
0:49 a legit way to obfuscate batch scripts gotta love how this person runs setlocal enabledelayedexpansion just so they can use ! instead of % for variables
@maxwellcrafter
@maxwellcrafter Жыл бұрын
I did that cause it looks nicer while making it slightly harder to reverse
@ulricoiho420
@ulricoiho420 Жыл бұрын
realizing that edge takes up 75% memory with only one tab
@TinyDeskEngineer
@TinyDeskEngineer 3 ай бұрын
2:34 The cursed part of this is not the breathtaking amount of pointless inversions, but the amount of mismatched parentheses. (Not to mention nearly all (or all of them depending on if JavaScript requires while loop conditions to be enclosed in them or not) of them are also unnecessary)
@molybdaen45
@molybdaen45 Жыл бұрын
0:11 you're paid by line of code so you started developing funny methods
@iexist_nt
@iexist_nt Ай бұрын
companies actually do that? 💀
@sakamocat
@sakamocat Жыл бұрын
0:00 ah yes, me creating a full c++ project and then github thinks its 99.9% of makefiles 🤡
@chri-k
@chri-k Жыл бұрын
does it actually do that?
@sakamocat
@sakamocat Жыл бұрын
@@chri-k yes if you upload the makefile first, they just update it on the first file for some reason
@Adam_le_Zigoto
@Adam_le_Zigoto Жыл бұрын
Commit only the CMakeLists.txt, and .gitignore all the makefile crap
@vladyslavkryvoruchko
@vladyslavkryvoruchko Жыл бұрын
even aliens from mars can relate
@locutusque9111
@locutusque9111 Жыл бұрын
0:24 us AI researchers see bullcrap like this pretty often, especially with smaller language models
@bwsince1926
@bwsince1926 Жыл бұрын
I had to fight the senior developer where I work because he basically forced me to use a full If/Else statement in place of a ternary operator "in case I want to add more stuff in that else bit". Don't get me started on him using "If is true do things" instead of "if it's false break". All the time. With If statements inside If statements. Cursed!
@farhanaditya2647
@farhanaditya2647 Жыл бұрын
Bro what the heck? Are you sure he's a *senior* developer?
@bwsince1926
@bwsince1926 Жыл бұрын
@@farhanaditya2647 For 20 odd years! Man, if you read some of his code, you'd probably be having a laugh as well. Or the UI of his applications (NO whitespace, gigantic titles on every form, unnecessarily descriptive buttons...)
@AditiSingh-yb8fq
@AditiSingh-yb8fq Жыл бұрын
Programmers: "HTML is not a programming language" Programming Logo: ""
@bimokayoba
@bimokayoba Жыл бұрын
oh yeah lol 🤣
@vadiks20032
@vadiks20032 Жыл бұрын
hello world 0
@idkyet9458
@idkyet9458 Жыл бұрын
@vadiks20032
@vadiks20032 Жыл бұрын
@@idkyet9458 0
@EdKolis
@EdKolis Ай бұрын
One head, one body, one HTML One cup of Java which we script... 🙏🏻
@finnchillah3974
@finnchillah3974 Жыл бұрын
0:47 in the bottom right corner that is most definitely the rickroll link
@kunixin
@kunixin Жыл бұрын
the second image (0:10) just prints 4 lines of absolutely nothing, i did the program and its probably the most fun time ive ever had programming
@alexgaming7249
@alexgaming7249 Жыл бұрын
How though..? There is one print, other one must come from the first if and the eilfs mustn't activate because if was..? Only two must be printed...
@saitamatechno
@saitamatechno Жыл бұрын
@@alexgaming7249 I agree with alex
@kunixin
@kunixin Жыл бұрын
@@alexgaming7249 nvm it prints 4, i just put random logical operators that at least made the code work
@heck_n_degenerate940
@heck_n_degenerate940 Жыл бұрын
If I understand it correctly it goes through each of these horrendous conditionals and outputs a blank line if true. So I would expect the 1st and 5th statements to be true. So if the output is 4 lines, what are the other 2 statements?
@nah1110
@nah1110 Жыл бұрын
Wait I thought if the if statement or any elif statement associated with it is true then it should stop evaluating the other instances? So it should just print nothing at the start and then another nothing from the if statement and that's it - 2 blank lines. Correct me if i'm wrong.
@GSFigure
@GSFigure Жыл бұрын
We programmers all had a time when we made such unoptimized code that today we actively avoid it to protect our sanity.
@novarender_
@novarender_ Жыл бұрын
This is purely maliciously optimized
@BruttiF27
@BruttiF27 Жыл бұрын
I remember writing 5 or 6 if else statements in a row before learning about switch case. Ignosce mihi, pater, quia peccavi. (Lord forgive me, for I have sinned.)
@singh.guransh
@singh.guransh Жыл бұрын
such type of videos are crucial for a coder to maintain the sanity. great effort by the channel I must say!
@recklesspangolin
@recklesspangolin Жыл бұрын
that first one is me, I tend to separate css for each page and media queries for mobile so I don't have to be confused in development stage, then I'll merge all the css files into one into production lmao
@unflexian
@unflexian Жыл бұрын
and host all css in one repo??
@recklesspangolin
@recklesspangolin Жыл бұрын
@@unflexian everything is in one repo, of course
@unflexian
@unflexian Жыл бұрын
@@recklesspangolin oh alright
@hackergaming6372
@hackergaming6372 Жыл бұрын
0:44 glad I am not the only person who uses e’s as variables a lot
@G-Five
@G-Five Жыл бұрын
0:15 UUUGHHH BRACKETS IN IF STATEMENTS IN PYTHON AAAAAAAAAAAA
@Nick12_45
@Nick12_45 Жыл бұрын
1:10 hehe we do a lil trolin 😏
@gabrielnobrev
@gabrielnobrev Жыл бұрын
0:00 average codepen user
@EdKolis
@EdKolis Ай бұрын
Love the TestCoverage class that contains useless code to pad the test coverage stats. When unreachable statistics are more important to management than actually working code...
@WackoMcGoose
@WackoMcGoose Жыл бұрын
2:38 Anyone else get nerd-sniped trying to see if it resolves to "not not not not true" only to completely miss the _paren mismatch?_
@Templarfreak
@Templarfreak Жыл бұрын
what's really cursed about it is that it seems like their editor *isnt complaining about it* in the screencap
@Wkaelx
@Wkaelx Ай бұрын
1:09 10.000001 > 10, they lied to me.
@tomrow32
@tomrow32 Жыл бұрын
1:05 Nice, graphing calculator nonsense
@maxwellcrafter
@maxwellcrafter Жыл бұрын
Most efficient way even if jank ¯\_(ツ)_/¯
@СеняМорсин
@СеняМорсин Жыл бұрын
2:38 WHY THE DUCK THEY OPEN 2 BRACKETS AND NEVER CLOSE THEM😢😢😢💀💀💀
@brightblackhole2442
@brightblackhole2442 2 ай бұрын
there's a bit more than 2 unclosed parentheses
@Zatrit
@Zatrit Жыл бұрын
3:04 POV: compiling Skia on Windows using Ninja
@vladyslavkryvoruchko
@vladyslavkryvoruchko Жыл бұрын
0:03 bro github shows that my project is 70% cmake and 30% c++, my case is not recoverable
@nekoracore3378
@nekoracore3378 Жыл бұрын
AaaaaaaaAaAaAAAaAAaaAAAAaaaaaa FINDING MY HAPPY PLACE. FIIIIIIIINDIMG MY HAPPY PLACE
@kuba4ful
@kuba4ful Жыл бұрын
2:02 looks exatly like my commits, except instead of v2/v3 i say "fix translate again", "fix translate one more time", "fix translate final (i hope)", "fix translate final final"
@marcoshenriques3118
@marcoshenriques3118 Жыл бұрын
Those vídeos always get me MAD laughing, i cant stop 😂
@gandalfgrey91
@gandalfgrey91 Жыл бұрын
I’m beginning to wonder how deep the rabbit hole goes
@tredI9100
@tredI9100 Жыл бұрын
0:29 filesystem corruption
@jameslockwood8008
@jameslockwood8008 7 ай бұрын
Any non-monospace font in the terminal is just going to look awful, or goofy at best.
@olegchernysh8391
@olegchernysh8391 Жыл бұрын
I barely understand few command, but im just dying when i see programmer's reactions on these.
@unflexian
@unflexian Жыл бұрын
Nice I love this energy try reading 1:09 it should be understandable
@axiom123
@axiom123 Жыл бұрын
@@unflexianI feel like just reading “os.remove System32” should be enough to figure it out 💀
@dmitryvakulenko3269
@dmitryvakulenko3269 Жыл бұрын
2:48 shortest java class name
@5cover
@5cover Жыл бұрын
I've made more than my fair share of bad commit messages, but these are just on another level.
@wescube-ligma
@wescube-ligma Жыл бұрын
no programmers were harmed when making this video
@christopherr8441
@christopherr8441 Жыл бұрын
This song is perfect for this
@hengstus8411
@hengstus8411 Жыл бұрын
The music really makes these.
@marasmusine
@marasmusine Жыл бұрын
I can't quite place it but it sounds like John Barry.
@explosive_koala1
@explosive_koala1 2 ай бұрын
I like when the authors put comments in their code acknowledging the horrors they made
@Jenkkimie
@Jenkkimie Жыл бұрын
This video gave me a PTSD.
@PlaylistCollector2112
@PlaylistCollector2112 Жыл бұрын
DO NOT OPEN VSCODE AT 3AM! (SCARY CLICKBAIT THUMBNAIL)
@TheBlackopsDS
@TheBlackopsDS Жыл бұрын
1:10 absolutely floored me
@lautischeibe
@lautischeibe 2 ай бұрын
0:40 i did a full alphabet with this one LMAO
@TinyDeskEngineer
@TinyDeskEngineer 5 ай бұрын
0:10 This is the code of someone desperately trying to debug a problem where nothing is helping
@kooskoos1234
@kooskoos1234 Жыл бұрын
I dont know why i clicked this video, i knew it would enrage me and yet i fell for it
@lucascodebreak
@lucascodebreak Жыл бұрын
As a Programmer, this give me Vietnam flashbacks
@VeryCooIName
@VeryCooIName 2 ай бұрын
2:37 would raise a syntax error; theres like 30 opening parentheses and only one closing parentheses
@afunnyusername798
@afunnyusername798 Жыл бұрын
i'm scared
@crazytiger6
@crazytiger6 2 ай бұрын
1:13 inputs “no” Since they have no input validation, trying to turn “no” into an integer will raise an error and crash the program
@casev799
@casev799 Жыл бұрын
I'm barely know shit about code and wanting to learn C but seeing so many ! statements in the thumbnail alone genuinely had me in a 1000 yard stare
@Mutrax4706
@Mutrax4706 Жыл бұрын
2:34 im not sure whats worse the insane unnecessity of "not" marks, OR HOW THE PARENTHES DONT MATCH!!! there are so many "(" but only one ")"
@StellarSt0rm
@StellarSt0rm Жыл бұрын
0:10 Nothing indeed
@Memztroijan
@Memztroijan Жыл бұрын
The thumbnail is a real work of art xD
@RtepPWR
@RtepPWR Жыл бұрын
I do love these! ♥
@williamdrum9899
@williamdrum9899 Ай бұрын
1:59 Well that's just a GOTO with extra steps
@starpawsy
@starpawsy 6 ай бұрын
That encypherment at 0:47 could be done in like 1% of the code with a unix 'tr' command: tr '[a-z]' 'bxyzhn....wotevr' < infile > outfile
@victorg9157
@victorg9157 Жыл бұрын
cursed programming in c, i saw yesterday irl from a friend: while(1) { ptr= (int*) malloc (100*sizeof(char*)); } return 'AMOGUS';
@ketaminepoptarts
@ketaminepoptarts Жыл бұрын
0:00 is what it feels like using any modern website
@Joe-xr2xl
@Joe-xr2xl Жыл бұрын
for (;;) is not a war crime. Its spec lol i think of it as the forever loop.
@dm121984
@dm121984 Жыл бұрын
1:12 Definite 'Jigsaw' vibes here.
@godlypumpkin8745
@godlypumpkin8745 Жыл бұрын
Game one lies. It says 1-10, but it is actually 1.000001-10.000001
@cpucat
@cpucat 2 ай бұрын
1:05 Texas instruments, is that you
@AraikSarkisyan
@AraikSarkisyan Жыл бұрын
2:00 Team Fortress 2 devs detected
@wigwuck
@wigwuck Жыл бұрын
The fix translate commits one hits a little too close to home
@eeti5658
@eeti5658 9 ай бұрын
0:00 bro tried to center an element
@moharexx3128
@moharexx3128 Жыл бұрын
Cursed Javascript you could use in next video: console.log(function(){return "Hello World!"}());
@evanlacagnina3963
@evanlacagnina3963 Жыл бұрын
2: 54 This last one really got me XD
@TinyDeskEngineer
@TinyDeskEngineer 5 ай бұрын
That code in the thumbnail isn't even going to work because of the mismatched parentheses
@simonwillover4175
@simonwillover4175 Жыл бұрын
0:12 basically checks to see if an object (`nothing`) has the proper equality operators built in. If `nothing` doesn't (i.e. it is completely indescriminate) then the function returns None. If `nothing` DOES have the proper operators built in, then it returns `nothing`. I propose we rename this function to "is_pythonic" or something along those lines.
@simonwillover4175
@simonwillover4175 Жыл бұрын
Actually, the "is" statements kinda complicate this a lot.
@mrlemflem
@mrlemflem 2 ай бұрын
1:09 truly rigged (even if you somehow guessed it, it would just give you a value error lol)
@daze8410
@daze8410 Жыл бұрын
2:19 It's running on a literal potato
@moskvin6175
@moskvin6175 Жыл бұрын
I love so much these videos lol
@Peter-kn9jj
@Peter-kn9jj Жыл бұрын
1:09 os is not imported 2:35 there are no closing parentheses
@PawelHerok
@PawelHerok Жыл бұрын
ur saying that like the whole video isn’t cursed
@Peter-kn9jj
@Peter-kn9jj Жыл бұрын
@@PawelHerok it's more than cursed especially at the mentioned timestamps
@joedover302
@joedover302 Жыл бұрын
i mean to be fair you wouldn’t want to accidentally run the code and delete system 32
@thomasveal7697
@thomasveal7697 Ай бұрын
1:07 the fact that you imported something from the TI OS means that you are using Circutpython for some strange reason.
@rektleet
@rektleet Жыл бұрын
yooo tom from myspace would be proud of the first one
@exodus9017
@exodus9017 Жыл бұрын
So entertaining thank you 😂
@Tactcat
@Tactcat Жыл бұрын
thank you cement sandwich
@eowynscience
@eowynscience Жыл бұрын
Truly tripping hackers
@amazing-2545
@amazing-2545 Ай бұрын
1:12 1000% pc gone
@Infragion
@Infragion Жыл бұрын
about guess game: python will say that he dont have permissions to delete that folder
@timothy1498_boi
@timothy1498_boi 6 ай бұрын
0:01 the css 😭😭
@sujalkumar1245
@sujalkumar1245 Жыл бұрын
This was really a nice one!
@Fish-K-fischer-o-forke-Sr
@Fish-K-fischer-o-forke-Sr Жыл бұрын
Need cursed programming 6
@cementsandwich
@cementsandwich Жыл бұрын
Soon
@_bits_and_bytes
@_bits_and_bytes Жыл бұрын
0:00 Oh I see you're using tailwind CSS
@dimankan
@dimankan Жыл бұрын
страшно. вырубай
cursed programming 6
3:27
Cement Sandwich
Рет қаралды 41 М.
"Hello, World" in 5 CURSED languages that no one should use
13:08
Dreams of Code
Рет қаралды 558 М.
When you have a very capricious child 😂😘👍
00:16
Like Asiya
Рет қаралды 18 МЛН
СИНИЙ ИНЕЙ УЖЕ ВЫШЕЛ!❄️
01:01
DO$HIK
Рет қаралды 3,3 МЛН
Connecting North Korea's Operating System to the Internet?
10:59
Eric Parker
Рет қаралды 2,1 МЛН
Code Crime: Yandere Dev
14:00
Code Crimes
Рет қаралды 194 М.
STOP Watching Programming TUTORIALS!
1:53
Practical Coding
Рет қаралды 29 М.
AI Learns to Play Dodgeball
10:59
AI Warehouse
Рет қаралды 1,6 МЛН
programming war crimes 3
2:43
elseif
Рет қаралды 237 М.
My Bank Wanted $17.63 so I Used Python Instead.
4:42
Coding with Lewis
Рет қаралды 572 М.
cursed programming 5
2:18
Pilaral
Рет қаралды 26 М.
The Legend of YouAreAnIdiot.org
18:01
NationSquid
Рет қаралды 10 МЛН
When Your Game Is Bad But Your Optimisation Is Genius
8:52
Vercidium
Рет қаралды 1,6 МЛН
cursed programming 2
3:17
Cement Sandwich
Рет қаралды 549 М.
When you have a very capricious child 😂😘👍
00:16
Like Asiya
Рет қаралды 18 МЛН