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 😀🙃
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
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."
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"))
@@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.
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.
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.
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
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
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 😅
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" 😂😂
😂😂😂😂😂😂😂😂😂😂😂😂
your comment popped up and destroyed the punchline
"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"
Billy is really improving his skills
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
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
Babe, wake up! Mr. P Solver just dropped a new video
Python just granted him what he *wished for* instead of what he *wanted*
He said he wants that.
The fact that you used Sly Cooper music in this one unlocked a core memory
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
These videos are too funny! Finally subscribed! Thanks man and keep up this nice work!
"Light attract bugs" That is perfection!
light atttracts bugs -
legit programmer who uses light mode
1:11 AttributeError: module 'numpy' has no attribute 'prove_fermats_last_theorem'
Yeah it does
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.
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
Shregory got komedi in him 😂
I need more content with that birdy
We need a movie!😂
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.
@@FatallyParasocial what if you just have a buggy compiler?
bro I can't explain how good these videos are
Vids keep on getting funnier. Keep it up! :)
Billy Is my favourite content.
Lol light attract bugs xD
Plot twist... World hunger isn't a problem... it's a policy choice.
The code in light mode sentence made my day LMAO!
remember guys, a code without bug is a deadly timebomb
Ok this is your best yet I think 😂
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.
"yeaaaaah buddy" LOL such a fine reference
I really like that sunshine bird
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.
tbh once a time i tried running print("Hi") and it gives error, Error in line code 1 Print("Hi")
^
Let's go Billy!
1:41 muzak?
as a python programmer this is one in million moment
AAAAAAAAAYYYYYEEEE 2:00 was that Dimitri's theme from Sly 2 👀👀👀👀?? 🦎
Man your videos are so entertaining hahaha
POV: When the only code you have ever run first time without bugs is "print('Hello World')"
The time your program runs without bugs is shorter then the life of a mesquito
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
as an html developer, i can confirm that i met html in real life cuz my code ran without errors.
This is the story of why unit testing was born.
As a programmer, getting the code working on the first try will make you think that life is a lie
No error is not the same as no error messages. No error means that the program produces the right answer.
Lmao last one was savage 😂
Billy is now genius nooow!😀
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
Love your channel man keep it up.
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
2:00 is that from sly 2 disco theme 😂
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
That is exact the same filling I have coding in python today. Just logical errors ,-, .
>master tweeters
That didn't age well
Lmao. Great vid with a little storyline too!
1:20 We All saw
i love billy
😂😂💔💔
Light attracts bugs 😂💀
the fact that the code says "incorrectly_count" is kinda funny
How this channel not 300k?
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 😅
billy: "i wish for no errors in my code"
me (an intellectual): "just use JS"
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 love these videos man! 😍😍❤️❤️
Billy should have said all types of errors, including logic errors
Does anyone have this picture of the snake with monocles?
Let's do some speedrun for perfect first-time code!
Quality stuff ))
I tried the same e counter in Javascript, Node.js
It took 8 tries.
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...)
coding beluga
this one got me to subscribe
Rust code always run without errors
Que canal incrível, mds
Surely make a vid of Billy and Shregory having their epic final programming battle...
I get scared when my code compiles 5 times in a row without errors
I only code in light mode during the day
this is facts
bro what🤣😂
10 minutes yeahhh
I am another Billy lol
that's great
If a program runs on the first try... i know something is wrong.
The fact that most ppl dnt use light mode 🤣
light mode is not bad come on. I use eclipse.
I'm literally studying python rn and I got to say this is accurate af
C++
why did the elon suddenly have 1000 'e's when he said i am bored?
Hmmmmmm
Gem
Getting results wrong *is* an error
Twitter being a reputable company didnt age well
i mean, logic errors are an error