Does it still count as running "first try" if it runs first time after you spend 3 days debugging & pouring over it only to realise you forgot to call it?
a programmer may not know of it themself. If it is the case of a hand-written two-pages procedure, written at home, them typed into computer in class, for the very first time in life, and it runs as intended.
Lol I feel it , it's like how I wrote a function to divide an algebraic expression by an algebraic expression and simplify it , and then I ran some tests.. and Im like ok let's c the millions of issues , but no fucking way. Like all the tests works at the first run 😀🙃
This is relevant as hell lol I wrote ~200 lines the other day and had this experience. It was just some functions using the Pillow module. Was trying to draw an equilateral shape with only the number of sides and crosswidth as inputs. My last thoughts before ascending to Python Godhood, "Damn, I didn't test any of that I wonder if..." BAM, WORKS. "nevermind, I'm just that epic."
That Python has fangs despite being non-venomous, foreshadowing the fact that the deal will eventually cause pain and suffering to poor Billy, truly a masterpiece of literature
estoy iniciando en la programación, justo con Python, es claro que aun no soy experto, pero estos videos me divierten muchísimo, es curiosos como los entiendo jajajaja, son geniales
def count(string: str, char: str) -> int: if len(char) != 1: raise ValueError("char must be one character") counter = 0 for index in string: if index == char: counter += 1 return counter print(count("Kara Harp Okulu", "as"))
When your code runs without errors, it means that you have successfully executed your program without encountering any syntax or logical issues. This is a crucial step in the software development process, as it indicates that your code is well-structured and can be processed by the machine as intended. Running error-free code allows you to test your program's functionality, observe its behavior, and make necessary adjustments to improve its performance.
OMG I've spent the last 2 days tortured by a code with no bugs or errors that is incorrect! It is truly the worst fate of all especially when chat GBT is acting all smug insisting the code is clearly flawless and I am just being dumb X_X
Год назад+3
No error is not the same as no error messages. No error means that the program produces the right answer.
Some time ago I was running windows in a VM and tried to run a script... it failed on a line that combined 3 string variables... I could print() each variable and it was fine, but combining two of them in particular would result in a garbled mess if a string that ignored any third variable entirely, or at least insert a random " " out of nowhere. I'm still confused and can't run this script on windows.
@@Louis13XIII With logic errors, things don't show up the way that is expected. I'm gonna try my best to explain it to you with my amateur brain. For example, say we have a method that is returns a boolean value for whether or not the number is greater than or equal to 0. (Basically, returns True if then number is positive (or 0 idk if 0 is considered positive), and returns False if the number is negative) You code that method, and run it with an Integer argument that is 0. The method is intended to return True, but instead it returns False. Since the program ran without bugging, the syntax is correct. However, the output is unexpected, so there is a logic error in the method. Logic errors happen due to a misunderstanding how certain things work. And often it can be hard to pinpoint what is wrong. So yeah, logic errors suck.
The same thing happened with me but my code was just 57 lines so i took 10 minutes to debug only. I didn't get any error but i was making a quiz in python where it always gave me the 1st option, i am happy that i could defeat a fate worse than death in 10 minutes 😅
When you turn error suprression on in solidworks (dimensions break and you are left with a corrupted file) 1:55 - at least it feels that way in matlab, and then you find out the reason that you neglected 20 lines of important code 2 and a half hours later and you feel like an idiot. Maybe I'd wish for error messages explaining what the message means and how to fix given my situation. So I wouldn't spend 45 minutes fixing a loop inside a loop inside a functions
those logic errors really sare the worst i always wonder why people make jokes out of syntax errors when it only takes me 2 mins to fix logic errors tho.... 5 hours MIN-I-MUM
Not many know the power and confidence a programmer gets when they write a function that runs as intended on the first try
Does it still count as running "first try" if it runs first time after you spend 3 days debugging & pouring over it only to realise you forgot to call it?
a programmer may not know of it themself.
If it is the case of a hand-written two-pages procedure, written at home, them typed into computer in class, for the very first time in life, and it runs as intended.
I don’t. Haven’t gotten to that stage yet
Totally relatable. +1
Lol I feel it , it's like how I wrote a function to divide an algebraic expression by an algebraic expression and simplify it , and then I ran some tests.. and Im like ok let's c the millions of issues , but no fucking way. Like all the tests works at the first run 😀🙃
"Because light attracts bugs"
Perfect.
I wish Billy adventures never ends
Fucking same!
He's one of the booiiiiis!
Hi if you liked this vid i think you'll like mine too
"When programming, computers are like mischievous genies, they will do what you ask not what you want"
"Because light attracts bugs" 😂😂
😂😂😂😂😂😂😂😂😂😂😂😂
Billy is really improving his skills
"having an incorrect result with no errors
is a fate worse than death"
C be like : "hold my struct Beer"
C : "prepare for trouble" ;
c++:"and make it double"
These videos have become full on parables now lol, still fun as ever.
This is relevant as hell lol
I wrote ~200 lines the other day and had this experience. It was just some functions using the Pillow module. Was trying to draw an equilateral shape with only the number of sides and crosswidth as inputs.
My last thoughts before ascending to Python Godhood, "Damn, I didn't test any of that I wonder if..."
BAM, WORKS.
"nevermind, I'm just that epic."
*_FEAR_*
Well, what did you wish for from python?
I would wish for the whole knowledge of regex
@@red__guy *_YOU ASK TOO MUCH! NO MORTAL BEING WAS MEANT FOR SUCH KNOWLEDGE!_*
@@ConstantlyDamaged You're right. No one is worthy for such power!
@@red__guy One should never suffer a regex master to live-though it is handy keeping someone around the office that knows all the anchors.
I can't believe my bird is actually using a coding editor
That Python has fangs despite being non-venomous, foreshadowing the fact that the deal will eventually cause pain and suffering to poor Billy, truly a masterpiece of literature
Lmao
Python just granted him what he *wished for* instead of what he *wanted*
He said he wants that.
Babe, wake up! Mr. P Solver just dropped a new video
Can't get enough of this series
estoy iniciando en la programación, justo con Python, es claro que aun no soy experto, pero estos videos me divierten muchísimo, es curiosos como los entiendo jajajaja, son geniales
1:11 AttributeError: module 'numpy' has no attribute 'prove_fermats_last_theorem'
Shregory got komedi in him 😂
I need more content with that birdy
We need a movie!😂
Lol light attract bugs xD
"Light attract bugs" That is perfection!
Billy Is my favourite content.
That ending... is exactly why i'm taking a break after the story of my last comment.
These videos are so much funnier now that I have recently started to learn how to code.
These videos are too funny! Finally subscribed! Thanks man and keep up this nice work!
Ok this is your best yet I think 😂
Vids keep on getting funnier. Keep it up! :)
The fact that you used Sly Cooper music in this one unlocked a core memory
The code in light mode sentence made my day LMAO!
"yeaaaaah buddy" LOL such a fine reference
bro I can't explain how good these videos are
def count(string: str, char: str) -> int:
if len(char) != 1:
raise ValueError("char must be one character")
counter = 0
for index in string:
if index == char:
counter += 1
return counter
print(count("Kara Harp Okulu", "as"))
Can't wait to see you finally gain 100k subs. You deserve much more than that
I really like that sunshine bird
tbh once a time i tried running print("Hi") and it gives error, Error in line code 1 Print("Hi")
^
light atttracts bugs -
legit programmer who uses light mode
Plot twist... World hunger isn't a problem... it's a policy choice.
Man your videos are so entertaining hahaha
remember guys, a code without bug is a deadly timebomb
When your code runs without errors, it means that you have successfully executed your program without encountering any syntax or logical issues. This is a crucial step in the software development process, as it indicates that your code is well-structured and can be processed by the machine as intended. Running error-free code allows you to test your program's functionality, observe its behavior, and make necessary adjustments to improve its performance.
Lmao last one was savage 😂
Let's go Billy!
Lmao. Great vid with a little storyline too!
as a python programmer this is one in million moment
2:00 is that from sly 2 disco theme 😂
AAAAAAAAAYYYYYEEEE 2:00 was that Dimitri's theme from Sly 2 👀👀👀👀?? 🦎
How this channel not 300k?
Love your channel man keep it up.
That is exact the same filling I have coding in python today. Just logical errors ,-, .
😂😂💔💔
Light attracts bugs 😂💀
OMG I've spent the last 2 days tortured by a code with no bugs or errors that is incorrect! It is truly the worst fate of all especially when chat GBT is acting all smug insisting the code is clearly flawless and I am just being dumb X_X
No error is not the same as no error messages. No error means that the program produces the right answer.
Billy is now genius nooow!😀
The time your program runs without bugs is shorter then the life of a mesquito
Some time ago I was running windows in a VM and tried to run a script... it failed on a line that combined 3 string variables...
I could print() each variable and it was fine, but combining two of them in particular would result in a garbled mess if a string that ignored any third variable entirely, or at least insert a random "
" out of nowhere.
I'm still confused and can't run this script on windows.
i love billy
1:51
Logic errors can be syntactically correct. However, they are known to deviate against expected results or outcomes.
How so?
@@Louis13XIII With logic errors, things don't show up the way that is expected.
I'm gonna try my best to explain it to you with my amateur brain.
For example, say we have a method that is returns a boolean value for whether or not the number is greater than or equal to 0. (Basically, returns True if then number is positive (or 0 idk if 0 is considered positive), and returns False if the number is negative)
You code that method, and run it with an Integer argument that is 0. The method is intended to return True, but instead it returns False. Since the program ran without bugging, the syntax is correct. However, the output is unexpected, so there is a logic error in the method.
Logic errors happen due to a misunderstanding how certain things work. And often it can be hard to pinpoint what is wrong. So yeah, logic errors suck.
@@digitmidget6973 what if you just have a buggy compiler?
>master tweeters
That didn't age well
Worst bugs are which doesnt shown up development server but not in production, I hope anyone who reads this doesn't get such a bug in their next push
Those are my favourite because they enabled me to learn about k8s more than I wanted to
billy: "i wish for no errors in my code"
me (an intellectual): "just use JS"
Quality stuff ))
I love these videos man! 😍😍❤️❤️
the fact that the code says "incorrectly_count" is kinda funny
This is the story of why unit testing was born.
I know that felling, I had it happening too :(
(it was because I forgor 💀 to use the command to make a copy of the list...)
POV: When the only code you have ever run first time without bugs is "print('Hello World')"
1:41 muzak?
I tried the same e counter in Javascript, Node.js
It took 8 tries.
Surely make a vid of Billy and Shregory having their epic final programming battle...
Does anyone have this picture of the snake with monocles?
that's great
as an html developer, i can confirm that i met html in real life cuz my code ran without errors.
this one got me to subscribe
The same thing happened with me but my code was just 57 lines so i took 10 minutes to debug only. I didn't get any error but i was making a quiz in python where it always gave me the 1st option, i am happy that i could defeat a fate worse than death in 10 minutes 😅
Rust code always run without errors
When you turn error suprression on in solidworks (dimensions break and you are left with a corrupted file)
1:55 - at least it feels that way in matlab, and then you find out the reason that you neglected 20 lines of important code 2 and a half hours later and you feel like an idiot.
Maybe I'd wish for error messages explaining what the message means and how to fix given my situation.
So I wouldn't spend 45 minutes fixing a loop inside a loop inside a functions
Let's do some speedrun for perfect first-time code!
Music please? 0:36
Its Soviet Union music, but I'm not sure if it's the anthem or a different song. I haven't listened to it in a very long time
I am another Billy lol
As a programmer, getting the code working on the first try will make you think that life is a lie
10 minutes yeahhh
bro what🤣😂
Billy should have said all types of errors, including logic errors
those logic errors really sare the worst i always wonder why people make jokes out of syntax errors when it only takes me 2 mins to fix
logic errors tho....
5 hours
MIN-I-MUM
I only code in light mode during the day
Que canal incrível, mds
this is facts
1:20 We All saw
I'm literally studying python rn and I got to say this is accurate af
xD
Hmmmmmm
coding beluga
Gem
I get scared when my code compiles 5 times in a row without errors
why did the elon suddenly have 1000 'e's when he said i am bored?
The fact that most ppl dnt use light mode 🤣
light mode is not bad come on. I use eclipse.
If a program runs on the first try... i know something is wrong.
i mean, logic errors are an error
C++
AHAHAHA