You cannot not monetize your videos, if it becomes popular youtube will show ads on it, and you will not have any money from that, this rule was introduced 5 years ago or so...
My favorite part about the one with 31,248 errors is that as a non-programmer I am left to infer that every single one is caused by the fact that they typed "peple" instead of people.
@@AxlefublrMain I remember the most errors I ever got from a single character typo was when in a java program I missed one letter in "public class". I think it threw an error for every word in the file saying "hey, this isn't valid before you've defined your class!"
there are far more ways in which atoms can form poisonous compounds than they can form food. Is a general principle that order is the opposite of entropy. The more degrees of freedom a system has the harder it is for the system to achieve a state where it is capable of performing a useful function
@@jojough8283 But for programming specifically, there are usually hundreds of ways to write code that technically work the same, but most of them are horribly inefficient/impossible to read/can't be expanded upon/painful to debug/overcomplicated/inconsistent/etc. In a lot of fields it's obvious when something is made poorly, but for programming you often can't tell unless you look at the code.
I knew a person who, instead of just writing a line to execute straight. He wrote an if command that can't happen and put the original line in the else, just to tempt the gods. I had much to learn from this man
My first reaction to 1:10 was like yeah, people don't know switch exists. A second later I realized that this is meant to be a clalculator and my brain just melted
The real reason why 0:50 is a crime: The same code is being duplicated and being stacked on top of each other. The correct way is taking the original part of the code, removing the duplicates, and putting it inside a single repeat () block.
-You can just temporarily insert quotes in the beginning and end of the file and VScode will highlight the offending characters- Actually VScode will always highlight them ( given the right settings )
As a programmer who has no life, I agree that brute forcing result through multiple uses of selection structures is the best way to get the answer that you're not looking for.
@@gutoguto0873Looks somewhat like "lateinische Ausgangsschrift" that's german and there's no real translation or sütterlin. What I found fast which pretty much fits as a regular font is "novia" on identifont
Catch the error then throw the error. Realize the error, then wrap the whole try statement in another try statement. Continue until you see your mistake.
@@keyb 1. Make function 2. Write a try-catch statement inside 3. Make the catch do a call to the function you're in already 4. why is my build not finishing yet
Same here, reading your own code is always much easier. Other peoples code looks like garbage and when i see it i just have the urge to delete it and rewrite it, as one might have an urge to remove a foreign body stuck in a wound
@@kb-zealot Reading your own code is not always easier. It is true that a lot of code desperately needs to be rewritten, but that's not because of who wrote it. Three months after writing it, your own code might as well have been written by someone else. Don't forget to comment your code.
@@davidwuhrer6704 Well, in my case that's what i found, perhaps not all programmers feel the same way. It's a lot easier to refresh myelf on old code I've written 3 months or 3 years ago or even longer vs code that someone else wrote. It's not even that other people's code is nessecerily bad or should be rewritten, it's just that it's different and unfamiliar. It's an instinct that should often be ignored.
@@kb-zealot I tend to forget the details of a problem once I've solved it. I can't carry every detail in my head all the time, I need that head space for other problems. If a problem remains on my mind, it's because I haven't actually solved it. Likewise, simplifying existing code reduces cognitive overhead. I find it also reveals lots of bugs. (That doesn't mean you have to check in your reformulation.) That's not about style. Things that look like they are stylistic choices often have technical reasons. That's where comments are needed. (Sometimes there are no comments because the author didn't understand how it works themselves and was just satisfied that it worked at all.) Reformulating code can help tremendously with understanding it. At least you'll understand why it was written the way it was to begin with. It also helps to know lots of different languages. People who know only one always write needlessly complicated code.
I think the FizzBuzz code is quite alright. The one thing I'd do differently is to extract the if-statement into a function that takes an integer and returns a string. That way, I can easily create a test suite for that function. As long as the function passes the tests, it does not matter so much exactly how it was implemented.
I went in to this thinking “oh it wouldn’t be that bad, i might actually be doing some my self since I consider myself pretty amateur in coding”, now I am in deep pain and thinking “why couldn’t they set up loops, it would make it so much easier”
1:25 sort works correct in this case because if u ommit callback parameter elements will be converted to string then will be sorted according to character's Unicode value. if u want to see sorting in correct numeric ascending order u should pass argument function like this (a, b) => a - b
It works correct the way thing that 1+1=3 is correct in a mathematical system where 1+1 is defined as 3. Sure, it is correct because it follows the rule of the language, but in this case the war crime is committed by the language itself.
@@joriankell1983 You convice your dad to come back with the milk Edit: To do that, you have to do nothing because that never happened. There is no such thing as a good ending in memes
The problem starts where "coders" want to get explained by somebody, what the code they are looking on is doing. So the myth was born, that lots of "documenting" comments would be useful... Regardless of the fact that nobody could guarantee, that any comment speaks truth
Marlett is a Windows font. It's for common Windows symbols like minimizing and maximizing. Almost every lowercase letter is a symbol. The Windows enchanting table language. You can use it basically anywhere on pretty much every Windows computer.
@Certyfikowany Przewracacz Hulajnóg Elektrycznych Yeah, I have 4 fonts I use all the time. JetBrains Mono for general use, Consolas for when JB Mono isn't supported, Calibri for variable width use, and Times New Roman for serif and compatibility.
I like the fact that in Swift, C++ (GCC), Racket and such you can use emoticons to name variables and functions, but maybe it's not exactly the best idea.
Hot take: If a programming language wants to be taken seriously, it should ONLY allow ASCII alphanumerics and underscores for identifier names. Unicode obviously is valid for the contents of a string and for comments, but nowhere else.
As a programing noob, I don't understand what's so wrong with this. I understand that there might be other ways of doing it but why is this such a crime?
@@TheSinfulFreak You would normally just use two consecutive if statements without an else, like this: if (i % 3 == 0) print("Fizz"); if (i % 5 == 0) print("Buzz"); so if it's divisible by both 5 and 3, it prints both Fizz and Buzz, because there's no "else" and both if statements match. Note that this doesn't really do the same thing, because printing "FizzBuzz" as one line isn't the same thing as printing "Fizz" then "Buzz" as two lines... I've never been asked the FizzBuzz question directly, but from what I know, it's usually worded somewhat ambiguously and the best thing to do is probably ask for clarification what's really needed. At least that's what I would want an interviewee to do, unless I've already given her/him a really exact specification on what the code should do. When in doubt, just ask your boss/client/etc. what they really want, if it was ambiguous. Even better, make sure you understand their real needs (which they may not even be fully aware of) and work with them to achieve a good exact specification on what the code should do in all corner cases that could be encountered in real life while using the program.
Please make more of these :) 0:40 in st terminal there is a patch you can install which changes your font on the terminal (but not in a file), so you can program in conscript without even utf8 support, including builtin functions written in your own script.
Just got this recommend, as a programmer since 6 years this is too true and cursed haha 😂 I had an expression I haven't held since years and this time it was very very strong. You absolutely broke me when the while false appeared
@@ABoxIsMyHome for those who dont understand his problem, if(isActive) would return true by default, if(!isActive) would be false, no need to use == true with Booleans, its like saying if(true == true) no need.
"I haven't worked on my game programming in a while, maybe I should do that-" *Ancient horrors born of the dawn of machinery* "-first thing after the end of the universe"
There's a lot of pure trolling, but some are just things that happen. The first one is probably a debug remnant. Whatever log/print used to be there got removed, catch-throw remained. The defaultFalse seems like a workaround on some idiotic framework/library where changing the values of true and false on the fly is necessary to stop it from failing. That brace tree is either generated code or a real noob programmer. 31248 errors is probably a missing brace in some commonly included header file. And the fizzbuzz is sloppy but seems correct.
@@ThomasTheThermonuclearBomb There are way too many bracket styles to get religious about them, and if you use if{ in one line, one-liner }else{ is only consistent. Recently I was configuring a standalone autoformatter and some of the options were just ridiculous... but them being there means some people use them, and use them as a standard. Stuff like indent function braces, keep body flush with the indented braces, or no newline after opening brace, just first line of body indented on same line... or condition for if on the next line after if, indented.
31248 errors: when you open a C++ Visual Studio project targeting the wrong windows SDK point version and it's just dying to tell you it couldn't find any standard library files ever, anywhere.
@@sharpfang Yes, usually there is a reason for everything. Not necessarily a good reason, though. Which reminds me of a rule in Call of Cthulhu rpg: sanity stat can't be more than max-value minus cthulhu knowledge stat. Seems relevant.
actually there's a use case for the first one: in Java, reading files from NIO requires you to handle a file not found error, and actually that's pretty damn good
I'm a Java programmer, and I don't got what you mean. If it's a runtime exception, this is useless, and if it's a checked exception, you can just declare "throws ...."
Hot take: } else { Is good styling and makes if statements much easier to read. The naked closing brace makes it easy to instantly know where the end of the if block is and where further code begins. Putting the else on its own line is just adding space for the hell of it. It's standard styling at a LOT of companies, and if it drives you insane maybe be a *little* less uptight about braces perhaps. And don't get me started on opening braces on the start of the next line instead of the end of the current one. If you think that if-else statement should require scrolling to read I honestly don't know what to tell you.
@@ChillSeb. yeah, sadly the symbols in the video aren't standard galactic tho.. they are just close to it, alot of that is unreadable. like for example the letters O, N, Q, M, I, J, K, and E look similar to each other
I just got an ad on my own non-monetized video. wtf
If you do not claim it , someone will .
Probably is the music.
Are your video monetizeable? If not, CZcams will just place ads there to be nice like that
That wanna be the real unforgivable crime
You cannot not monetize your videos, if it becomes popular youtube will show ads on it, and you will not have any money from that, this rule was introduced 5 years ago or so...
damn.
1:00 the Initialization of Independence
Lmao best comment
Definition*
@@ensiferrus9090 the joke is that variables in programming are initialised
Best comment ever
Underrated
My favorite part about the one with 31,248 errors is that as a non-programmer I am left to infer that every single one is caused by the fact that they typed "peple" instead of people.
as a programmer, I have the same conclusion
Or perhaps that they forgor to add a semi-colon at the end of a statement
C/C++ coders when you did anything: relatable
Yup and quite possibly in something that runs at 60fps. Not uncommon tbh
@@AxlefublrMain I remember the most errors I ever got from a single character typo was when in a java program I missed one letter in "public class". I think it threw an error for every word in the file saying "hey, this isn't valid before you've defined your class!"
this video being in 240p is a war crime in itself
So it's not me
Nahh dude, it is to protect your eyes, equivalent of using welders' glass while looking at the sun.
1:06
"What is your programming language?"
"Hardware"
Please name this video "Programming best practices - 2023" thanks
*filmed with a circa 2000 one megapixel knock off camera from China. 📷
"what CZcams coding bloggers teach you"
Dude if some idiot out there takes your comment seriously, and I somehow run into those problems,.. am coming for you!!!
💀💀💀
@@thenoblepoptart don't know if you are aware but that's usually how it's done on the internet
The inherent sadness of programming is that there are far more ways to do it wrong than right
but like, the same can be said for anything, it's just extremely hard to get everything right with coding
* pats tummy and rubs head *
there are far more ways in which atoms can form poisonous compounds than they can form food. Is a general principle that order is the opposite of entropy. The more degrees of freedom a system has the harder it is for the system to achieve a state where it is capable of performing a useful function
@@samanthaqiu3416 Right, and Turing complete languages have really high degrees of freedom.
@@jojough8283 But for programming specifically, there are usually hundreds of ways to write code that technically work the same, but most of them are horribly inefficient/impossible to read/can't be expanded upon/painful to debug/overcomplicated/inconsistent/etc. In a lot of fields it's obvious when something is made poorly, but for programming you often can't tell unless you look at the code.
there are far more ways to do quite literally anything wrong than right
I knew a person who, instead of just writing a line to execute straight. He wrote an if command that can't happen and put the original line in the else, just to tempt the gods.
I had much to learn from this man
I could learn a thing or two from that..
“An ‘If’ command that can’t happen.”
Something about that statement seems blissfully naive, but I can’t quite put my finger on it…
Doesn’t that just devastate branch prediction efficiency?
The chances of an if command never happening are never 0. Everything is possible if you believe in yourself.
/s just in case.
I think I know what you are talking about. I do this to align code sometimes.
i remember being in school and having the teacher ask you to copy code from a word doc which made the code unusable because of the different symbols
oh my god we do this all the time in my ap java class and the fucking curly quotes get me every time
same shit but in uni
Where the fuck do y'all study? I would get outta there as fast as possible xD
@@maksymiliank5135 my school teachers were really lazy. wasted like a good year if it werent for self study
the doc forsenCD
1:00 writing code in the 1700s
Literally writing on paper sheet.
if ('tis faithful) scroll.scribble("Good morrow dear world!")
@@imie-nazwisko lmao
thine code is trash, sire
I need that font, what is that font?
My first reaction to 1:10 was like yeah, people don't know switch exists. A second later I realized that this is meant to be a clalculator and my brain just melted
This is a _calculator?_
Yes mam
Noo i just realized 🤣. Im died now lol
The real reason why 0:50 is a crime: The same code is being duplicated and being stacked on top of each other. The correct way is taking the original part of the code, removing the duplicates, and putting it inside a single repeat () block.
Thanks for letting the
It’s loop unrolling, optimize optimize optimize!!
i forgot this programe, what was its name?
@@1pyrogaming scratch
@@suspiciousegg8276 ohh yeah, thx g
The most unforgivable crime is putting a zero width space in a random spot in code
ugh
several ones so your victim will suffer even more
Bro monospace font
oh my god no
-You can just temporarily insert quotes in the beginning and end of the file and VScode will highlight the offending characters-
Actually VScode will always highlight them
( given the right settings )
As a programmer who has no life, I agree that brute forcing result through multiple uses of selection structures is the best way to get the answer that you're not looking for.
1:00 it feels like you are a wizard conjuring spells to manipulate invisible energy
which, in a certain way, you are
0:42 when you find code written on the wall of an ancient cave
You read it and a fruit appears
@@yagomizuma2275 You realize that you are in a simulation and that you are an npc
Wie viel märchen dir noch bleibt
I mean I’m pretty sure that’s a semetic script so ur finding the next holly book… and it’s in Python 🥲
@@jodinha4225 that's SGA (standard galactic alphabet), the most popular game featuring it being Minecraft
1:00 bro programming in Declaration of Independence ☠️☠️
Does anyone know what font was used?
@@gutoguto0873 yeah, now i want such font too. Before this video, I could not even think that it possible
@@user-ik4wf4yc7v Please let me know if you find anything.
@@gutoguto0873Looks somewhat like "lateinische Ausgangsschrift" that's german and there's no real translation or sütterlin.
What I found fast which pretty much fits as a regular font is "novia" on identifont
In vs i find kunstler script, may be it
I think the biggest crime here - is the video resolution
i love how instantly recognizable the incredibles soundtrack is.
1:35 im pretty sure this is 90% of AAA game devs right here
Something along those lines is written in DOOM code, i think in the inverse square root function
@@quadroninja2708 You mean the fast inverse square root in Quake 3
@@natnial1 Fast inverse square root, aka What The Fuck?
@@natnial1 yeah, mixed those up
I’m pretty sure that is _every_ game dev ever.
0:55 You can't criticize Malbolge for obfuscating: that's one of it's defining design principles. It's working as intended.
yes I can
When you make a programming language so esoteric that people spent 2 years to figure out how to make it print out hello world
@@user-vu8fm5vb4n BRUHHHHH LMAO
malbolge is a crime in and of itself
Thought it was an api key or something bruh
I love the fact that even with such a low video quality you can still relate to each one of horror.
High quality video, combined with someone explaining which ones of these are jokes would make this bearable.
As a java developer I say catching every exception and then not printing the stacktrace at all is the most painful thing to see
Catch the error then throw the error.
Realize the error, then wrap the whole try statement in another try statement. Continue until you see your mistake.
I’ve inherited code before that had a try catch around 500 lines of code and then threw away the exception.
There we go, no more errors
@@bandobandit353 oh my god 💀
@@bandobandit353 this programmer is 100 years ahead of us, my god
@@keyb 1. Make function
2. Write a try-catch statement inside
3. Make the catch do a call to the function you're in already
4. why is my build not finishing yet
0:40 is what code looks like to people who don't code
Its what code looks like to me and i do code lol
Same here, reading your own code is always much easier. Other peoples code looks like garbage and when i see it i just have the urge to delete it and rewrite it, as one might have an urge to remove a foreign body stuck in a wound
@@kb-zealot Reading your own code is not always easier. It is true that a lot of code desperately needs to be rewritten, but that's not because of who wrote it.
Three months after writing it, your own code might as well have been written by someone else.
Don't forget to comment your code.
@@davidwuhrer6704 Well, in my case that's what i found, perhaps not all programmers feel the same way. It's a lot easier to refresh myelf on old code I've written 3 months or 3 years ago or even longer vs code that someone else wrote. It's not even that other people's code is nessecerily bad or should be rewritten, it's just that it's different and unfamiliar. It's an instinct that should often be ignored.
@@kb-zealot
I tend to forget the details of a problem once I've solved it. I can't carry every detail in my head all the time, I need that head space for other problems. If a problem remains on my mind, it's because I haven't actually solved it.
Likewise, simplifying existing code reduces cognitive overhead. I find it also reveals lots of bugs. (That doesn't mean you have to check in your reformulation.)
That's not about style. Things that look like they are stylistic choices often have technical reasons. That's where comments are needed. (Sometimes there are no comments because the author didn't understand how it works themselves and was just satisfied that it worked at all.)
Reformulating code can help tremendously with understanding it. At least you'll understand why it was written the way it was to begin with.
It also helps to know lots of different languages. People who know only one always write needlessly complicated code.
I think the FizzBuzz code is quite alright. The one thing I'd do differently is to extract the if-statement into a function that takes an integer and returns a string. That way, I can easily create a test suite for that function. As long as the function passes the tests, it does not matter so much exactly how it was implemented.
Why not just keep committing atrocities instead?
[...Array(100).keys()].forEach(i => {
console.log(i % 15 === 0 ? "FizzBuzz" : i % 3 === 0 ? "Fizz" : i % 5 === 0 ? "Buzz" : i);
});
🙃
Dude, the war crime part of the FizzBuzz one is the horrendous spacing lol
i % 15 anyone?
I came looking for this. I didn't think it was that bad. Improvable? For sure. But at least it wasn't an if (false == true) xddd
@@MelodyGoad What is so horrendous about it? It's still readable
I went in to this thinking “oh it wouldn’t be that bad, i might actually be doing some my self since I consider myself pretty amateur in coding”, now I am in deep pain and thinking “why couldn’t they set up loops, it would make it so much easier”
1:19 when you miss a semi colon
when you miss a key
SQOP IT
Nerds when they see this word : skiing 1:19
as a python software deveplorer thats so true
Fr
0:25 this is some first-degree felony indentation
I think the code is somehow center-aligned
I love how half of them are just funny language syntaxes.
Yet some of them are just.... crimes.
Pixel one: Here
Pixel two: Here
Pixel three: Here
Elseif: Ok, everyone is here
1:25 sort works correct in this case because if u ommit callback parameter elements will be converted to string then will be sorted according to character's Unicode value. if u want to see sorting in correct numeric ascending order u should pass argument function like this (a, b) => a - b
It's not very intuitive but makes sense now. Thanks for the explanation.
It works correct the way thing that 1+1=3 is correct in a mathematical system where 1+1 is defined as 3. Sure, it is correct because it follows the rule of the language, but in this case the war crime is committed by the language itself.
The first one is the most unforgivable crime. It gives me an idea of an April Fools prank to pull on your programer friend :D
In fact exactly what I did, a couple hours ago. Only diffrence is mine has a debug print line.
@@zirize you evil dude hahahaha
@@zirize but that one actually makes sense and is the best way to achieve it
@@vaap you would still want to re throw the existing exception though. Rather than creating a new exception to be thrown.
@@uniquename6925 ah yes I kinda glossed over that aspect but for sure
as a programmer this gives me the most internal rage any other programmer could have
After this video it felt like I discovered how cruel this world can be and I'm still in disbelief.
I feel like i wanna kms
@@brothermanbill8358 Don't, live to write better code out of spite instead.
@@nintySW will do i will no longer fall for the cia psyop
Yep that's definitely the kind of pfp a programmer would have
As a beginner, I have never been more shocked and jaw-dropped before at "code".
the first one is like hitting a golf ball while it was falling from a different hit, causing a homerun
1:11 yandere dev moment
@Cleminite please use a for loop
Lmao. My first thought.
@Cleminite please do something about your Alzheimers. Your fingers will thank you
As someone who wants to code as a hobby, I hope I don't make code like Yandere, and even if I do, I hope I learn from my mistakes
@@nintySW I think this is a calculator so each line is different by 1 or 2 numbers
As a programmer, this makes me feel that perhaps I'm not so bad at this.
No, you're still bad at it
@@projectkepleren wow you're so savage 😩💅✨ slay kinggg 🥳👑
@@projectkepleren yep everyone sucks, some just suck less
`Import tensorflow as plt`
I shivered at the sight of such villainy
The most unforgivable crime is getting an ad before this video that is longer than this video
As a programmer and not a paid actor like everyone else, I was and still am traumatized after I watched this video of horrendous programming mistakes.
How do I become a paid actor?
@@joriankell1983 You convice your dad to come back with the milk
Edit: To do that, you have to do nothing because that never happened.
There is no such thing as a good ending in memes
Someone watches Chess Simp I see 👀
@@vaibhavgt0 Are you in my walls? How’d you know?
Edit: You are a mobile user aren't you?
@@unfairdev8197 Yes, I am a mobile user and we're in each other's walls :)
Edit: I watch Chess Simp as well :p
1:40 this one killed me
You can actually see what’s going on?
@@memerightsactivist7972 github copilot madness
The problem starts where "coders" want to get explained by somebody, what the code they are looking on is doing. So the myth was born, that lots of "documenting" comments would be useful... Regardless of the fact that nobody could guarantee, that any comment speaks truth
UMHell
okay
all of those were horrifying
but the cursive one actually literally made me revulse
Your video will make a fine addition to my "CZcams algorithm strikes again" collection
Marlett is a Windows font. It's for common Windows symbols like minimizing and maximizing. Almost every lowercase letter is a symbol. The Windows enchanting table language. You can use it basically anywhere on pretty much every Windows computer.
No. Fucking. Way.
I’mma use that.
Thank you
🞂 🞃 🗖 🗗❓🗙
@@jerrypie2792 now THAT'S what im talking about!
@Certyfikowany Przewracacz Hulajnóg Elektrycznych Yeah, I have 4 fonts I use all the time. JetBrains Mono for general use, Consolas for when JB Mono isn't supported, Calibri for variable width use, and Times New Roman for serif and compatibility.
as a programming student, this entire video instills fear in my heart and a comical level of humor in my monke brain
1:21 either he didn’t create the variable, or he misspelled it or the times regardless those errors are insane
1:26 really got me for some reason, couldn’t stop chuckling while waiting on this oil change
I like the fact that in Swift, C++ (GCC), Racket and such you can use emoticons to name variables and functions, but maybe it's not exactly the best idea.
Hot take: If a programming language wants to be taken seriously, it should ONLY allow ASCII alphanumerics and underscores for identifier names. Unicode obviously is valid for the contents of a string and for comments, but nowhere else.
@@WackoMcGoose Not everyone codes in English.
@@TRDario everyone should
@@WackoMcGoose programming in Chinese is fun
@@TRDario Transliteration exists, and is already a requirement for programming languages that DO enforce ASCII-only code.
1:45 Man there's nothing wrong with this FizzBuzz te-
*Notices that it starts at 0*
Man that's criminal
Haha, I thought exactly the same
Whats wrong, just another iteration?
that's not the problem with it
you could just do
for(let i=0;i
even that could be optimised to just 1 line but then it's annoying to read
@@AMalevolentCreation ? this is not dividing by 0, it's 0 being divided by 3 & 5
1:47 That's fine, actually! It makes the code easier to understand. So long as further branches aren't going to be added...
As a programing noob, I don't understand what's so wrong with this. I understand that there might be other ways of doing it but why is this such a crime?
@@TheSinfulFreak You would normally just use two consecutive if statements without an else, like this: if (i % 3 == 0) print("Fizz"); if (i % 5 == 0) print("Buzz"); so if it's divisible by both 5 and 3, it prints both Fizz and Buzz, because there's no "else" and both if statements match. Note that this doesn't really do the same thing, because printing "FizzBuzz" as one line isn't the same thing as printing "Fizz" then "Buzz" as two lines... I've never been asked the FizzBuzz question directly, but from what I know, it's usually worded somewhat ambiguously and the best thing to do is probably ask for clarification what's really needed. At least that's what I would want an interviewee to do, unless I've already given her/him a really exact specification on what the code should do.
When in doubt, just ask your boss/client/etc. what they really want, if it was ambiguous. Even better, make sure you understand their real needs (which they may not even be fully aware of) and work with them to achieve a good exact specification on what the code should do in all corner cases that could be encountered in real life while using the program.
@@TheSinfulFreak the more commonly accepted solution to the fizzbuzz problem is using nested if statement. While this solution also works.
@@haikalhendrawan8i think the issue is that itwill print fizzbuzz for i = 0 while it should just print 0
Please make more of these :)
0:40 in st terminal there is a patch you can install which changes your font on the terminal (but not in a file), so you can program in conscript without even utf8 support, including builtin functions written in your own script.
1:10 now this, is true madness
0:50 the worst crime of all, trying to work with Scratch.
I argue that it's a good starting place for programmers, but as a programming platform, there is so much better lol
No need for looping if copy and paste is faster 😂
@@freuschfreu noooooooo
why
@@cvpgame7267 actually, im pretty sure that im ready for "real" programming, but scratch has a cool community and ITS REALLY EASY TO USE
Catching an exception just to throw it has got to be the Chad-est power move I have ever witnessed.
As a programmer, I'm not gonna be able to sleep tonight 💀
there’s no other way to cope with the pain this video is delivering. you can just maniacally laugh about it
bro thinks he is living in anime
Not even crying helps coping this
"I'm not even mad, that's impressive!"
Just got this recommend, as a programmer since 6 years this is too true and cursed haha 😂
I had an expression I haven't held since years and this time it was very very strong. You absolutely broke me when the while false appeared
I am new to programming, but even I can feel good about myself after watching this video
Reminds me when i compile C++ 1:23
The pain of using Visual Studio with Unreal without installing the dependencies 😢
The fact that there are subtitles makes this video better
lmao thank you 😂
this works really well with the spy theme
As an actual programmer, I can confirm that will give me nightmares for the week
1:10 when your assignment is to create a calculator but you didn't study 😂
0:40 coded an entire MVP service in Java with that font.. Interpol chases me.
Cursive font and center aligned code are the most cursed ones
I remember writing code like this back before loops were invented
I like one image where theres C# code but all the brackets are all the way to the right, pratically hidden away, to make it look like Python.
Captions are the biggest gold of this video.
0:25 and 0:35 are by far the best parts in this vid
the enchantment table one is how the average person sees code
0:18 thats the one that gets me lol
It reminds me of if(isActive == true)
@@ABoxIsMyHome for those who dont understand his problem, if(isActive) would return true by default, if(!isActive) would be false, no need to use == true with Booleans, its like saying if(true == true) no need.
I don’t even program and I know what level of eyebarf this is. Thanks for showing me Cyberpunk 2077’s code after launch.
1:31 Imagine you run this and it actually prints
It's one of those moments where you start thinking the programming language is broken, but them 1 hour later you realize it's just a typo
@@gustavocvieira8584 So ironic that when I read this reply youtube decided to bug and duplicate it over and over
the worst crime is coding a batch script.
but it's an actual app with a purpose but only in one line.
that's a lot of &
0:21
I would not be surprised if this code is found somewhere in Yandere Simulator.
nerd here, this is from the express framework for nodejs
1:05 The merge at the bottom..
What even is this
@@ABoxIsMyHome yep, i cant understand it too, heh
I'm not sure if this is hideous, utterly glorious, or both.
"I haven't worked on my game programming in a while, maybe I should do that-"
*Ancient horrors born of the dawn of machinery*
"-first thing after the end of the universe"
As someone who know nothing about programming I can relate
1:35 Tabnine being a legended as usual
I went through a lot of pain watching this
i gotta admit, the word IDE had me rolling for like 3 minutes
I like how just the existence of block code is a crime 😂
No it's cause it aint in a loop (I think)
I think block coding itself is actually good and intuitive - I got into programming after learning scratch
As a programmer I saw the previous 4 years of my suffering passing before my eyes
I understand nothing yet I feel pain...I feel disturbance in the force
just the fact that this video is in 240p, makes it so much funnier
There's a lot of pure trolling, but some are just things that happen. The first one is probably a debug remnant. Whatever log/print used to be there got removed, catch-throw remained. The defaultFalse seems like a workaround on some idiotic framework/library where changing the values of true and false on the fly is necessary to stop it from failing. That brace tree is either generated code or a real noob programmer. 31248 errors is probably a missing brace in some commonly included header file. And the fizzbuzz is sloppy but seems correct.
I think what's cursed about the fizzbuzz is that the brackets are on the same lines as the code that follows
@@ThomasTheThermonuclearBomb There are way too many bracket styles to get religious about them, and if you use if{ in one line, one-liner }else{ is only consistent. Recently I was configuring a standalone autoformatter and some of the options were just ridiculous... but them being there means some people use them, and use them as a standard. Stuff like indent function braces, keep body flush with the indented braces, or no newline after opening brace, just first line of body indented on same line... or condition for if on the next line after if, indented.
@@ThomasTheThermonuclearBomb all of my js codes are like that for the brackets, almost every tutorials that I followed are using that style
31248 errors: when you open a C++ Visual Studio project targeting the wrong windows SDK point version and it's just dying to tell you it couldn't find any standard library files ever, anywhere.
@@sharpfang Yes, usually there is a reason for everything. Not necessarily a good reason, though. Which reminds me of a rule in Call of Cthulhu rpg: sanity stat can't be more than max-value minus cthulhu knowledge stat. Seems relevant.
actually there's a use case for the first one:
in Java, reading files from NIO requires you to handle a file not found error, and actually that's pretty damn good
That's a misfeature of Java. Exceptions are not supposed to be secondary return values.
I'm a Java programmer, and I don't got what you mean. If it's a runtime exception, this is useless, and if it's a checked exception, you can just declare "throws ...."
True, all this does is split the stack trace between two objects.
@@davidwuhrer6704 Rust programmers crying
I've handled java a lot and...
I only know java has some other similar strange quirks like that
I can confirm as a developer that this video has given me severe depression
Hot take:
} else {
Is good styling and makes if statements much easier to read. The naked closing brace makes it easy to instantly know where the end of the if block is and where further code begins. Putting the else on its own line is just adding space for the hell of it. It's standard styling at a LOT of companies, and if it drives you insane maybe be a *little* less uptight about braces perhaps. And don't get me started on opening braces on the start of the next line instead of the end of the current one. If you think that if-else statement should require scrolling to read I honestly don't know what to tell you.
I like you. Come work where I work.
Whats wrong about the fizz buzz?
starting at 0 i think
Oh yes i just spotted the i- 0 😂
the algorithm looks fine, but there's a rando ; on last console.log, and idk, maybe the spaces in "i% 3" vs. "i%5"
idk
Fun fact: If instead of 3 and 5, you used powers of 2, it would run a lot faster
theres nothing wrong with the implementation, fizzbuzz is just evil.
0:40 jokes on you, im fluent in standard galactic. can read and write it just like english
Fun fact: Because it's originally from Commander Keen, an Id Software game, it implies that Doom's Hell and Minecraft's Nether are one and the same.
So you quite literally read enchantment table?
@@ChillSeb. yeah, sadly the symbols in the video aren't standard galactic tho.. they are just close to it, alot of that is unreadable. like for example the letters O, N, Q, M, I, J, K, and E look similar to each other
@@Minecraft-3699 ℸ ̣ ⍑ᔑℸ ̣ ᓭ ⚍リ⎓𝙹∷ℸ ̣ ⚍リᔑℸ ̣ ᒷ
@@ChillSeb. ikr, they have far more than enough bits to add 26 more characters to unicode
the best thing about these images is that even though you're not a programmer, you can immediately tell what's wrong
The last example is indeed the most severe war crime ever was and will be
in early 2000s, you should seen how the callback hells looked like. lol
0:10 fireship's code
The hello world one made me chuckle a little
1:11 why did this make me laugh more than it should have
who asked? popular guy