When Your Code Runs Without Errors...

Поделиться
HTML-код
  • Опубликовано: 6 сен 2024
  • Check out my Udemy course: www.udemy.com/...
    Get Your Billy T-Shirt: my-store-d2b84...
    Discord: / discord
    Instagram: / mrpsolver

Комментарии • 144

  • @Btc314btc
    @Btc314btc Год назад +757

    Not many know the power and confidence a programmer gets when they write a function that runs as intended on the first try

    • @dabbinghitlersmemes1762
      @dabbinghitlersmemes1762 Год назад +59

      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?

    • @user-tz5yo5nr1e
      @user-tz5yo5nr1e Год назад +5

      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.

    • @sharkrider3045
      @sharkrider3045 Год назад

      I don’t. Haven’t gotten to that stage yet

    • @su1nta
      @su1nta Год назад

      Totally relatable. +1

    • @deathsdoortohell
      @deathsdoortohell 11 месяцев назад +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 😀🙃

  • @TheLivingHeiromartyr
    @TheLivingHeiromartyr Год назад +325

    "Because light attracts bugs"
    Perfect.

  • @rsjeyzer
    @rsjeyzer Год назад +409

    I wish Billy adventures never ends

  • @lmeza1983
    @lmeza1983 Год назад +113

    "When programming, computers are like mischievous genies, they will do what you ask not what you want"

  • @kayscrib8572
    @kayscrib8572 Год назад +138

    "Because light attracts bugs" 😂😂

  • @weird407
    @weird407 Год назад +155

    Billy is really improving his skills

  • @noahmunz3201
    @noahmunz3201 Год назад +59

    "having an incorrect result with no errors
    is a fate worse than death"
    C be like : "hold my struct Beer"

    • @Decompiler-mu3xb
      @Decompiler-mu3xb Год назад +13

      C : "prepare for trouble" ;
      c++:"and make it double"

  • @AJ-pc9gu
    @AJ-pc9gu Год назад +53

    These videos have become full on parables now lol, still fun as ever.

  • @Dr.Cosmar
    @Dr.Cosmar Год назад +60

    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."

    • @ConstantlyDamaged
      @ConstantlyDamaged Год назад +13

      *_FEAR_*

    • @red__guy
      @red__guy Год назад +18

      Well, what did you wish for from python?
      I would wish for the whole knowledge of regex

    • @ConstantlyDamaged
      @ConstantlyDamaged Год назад +13

      @@red__guy *_YOU ASK TOO MUCH! NO MORTAL BEING WAS MEANT FOR SUCH KNOWLEDGE!_*

    • @red__guy
      @red__guy Год назад +9

      @@ConstantlyDamaged You're right. No one is worthy for such power!

    • @ConstantlyDamaged
      @ConstantlyDamaged Год назад +7

      @@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.

  • @m.a8335
    @m.a8335 Год назад +23

    I can't believe my bird is actually using a coding editor

  • @InfraredScale
    @InfraredScale Год назад +17

    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

    • @oxanis
      @oxanis 9 месяцев назад

      Lmao

  • @_tym3k
    @_tym3k 9 месяцев назад +1

    Python just granted him what he *wished for* instead of what he *wanted*

  • @RedSky8517
    @RedSky8517 Год назад +17

    Babe, wake up! Mr. P Solver just dropped a new video

  • @NRsevenX
    @NRsevenX Год назад +5

    Can't get enough of this series

  • @jhonatanMM
    @jhonatanMM Год назад +6

    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

  • @humanrightsadvocate
    @humanrightsadvocate Год назад +5

    1:11 AttributeError: module 'numpy' has no attribute 'prove_fermats_last_theorem'

  • @saisagarsingh3340
    @saisagarsingh3340 Год назад +2

    Shregory got komedi in him 😂

  • @stilllifeenthusiast
    @stilllifeenthusiast Год назад +3

    I need more content with that birdy

  • @edberaga
    @edberaga Год назад +5

    Lol light attract bugs xD

  • @TheJGAdams
    @TheJGAdams 8 месяцев назад

    "Light attract bugs" That is perfection!

  • @antonioparesini912
    @antonioparesini912 Год назад +2

    Billy Is my favourite content.

  • @Dr.Cosmar
    @Dr.Cosmar Год назад +5

    That ending... is exactly why i'm taking a break after the story of my last comment.

  • @icedraggon234
    @icedraggon234 Год назад +1

    These videos are so much funnier now that I have recently started to learn how to code.

  • @qweasdy-pc6ql
    @qweasdy-pc6ql Год назад +4

    These videos are too funny! Finally subscribed! Thanks man and keep up this nice work!

  • @mangaart3366
    @mangaart3366 Год назад +1

    Ok this is your best yet I think 😂

  • @-hackers_industry
    @-hackers_industry Год назад +3

    Vids keep on getting funnier. Keep it up! :)

  • @razvanpopa1187
    @razvanpopa1187 8 месяцев назад

    The fact that you used Sly Cooper music in this one unlocked a core memory

  • @halisterfernando9160
    @halisterfernando9160 Год назад

    The code in light mode sentence made my day LMAO!

  • @Alexr26
    @Alexr26 Год назад

    "yeaaaaah buddy" LOL such a fine reference

  • @Sahil_Shukla98
    @Sahil_Shukla98 Год назад +2

    bro I can't explain how good these videos are

  • @800kpygame2
    @800kpygame2 9 месяцев назад

    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"))

  • @user-bh9vn3xv9i
    @user-bh9vn3xv9i Год назад +1

    Can't wait to see you finally gain 100k subs. You deserve much more than that

  • @user-iw8ty4xd3u
    @user-iw8ty4xd3u 8 месяцев назад

    I really like that sunshine bird

  • @unknown-person-14.
    @unknown-person-14. Год назад +2

    tbh once a time i tried running print("Hi") and it gives error, Error in line code 1 Print("Hi")
    ^

  • @IAMVEGETA420
    @IAMVEGETA420 Год назад +1

    light atttracts bugs -
    legit programmer who uses light mode

  • @erikanderson1402
    @erikanderson1402 4 месяца назад

    Plot twist... World hunger isn't a problem... it's a policy choice.

  • @manomancan
    @manomancan Год назад +2

    Man your videos are so entertaining hahaha

  • @soluna1679
    @soluna1679 10 месяцев назад

    remember guys, a code without bug is a deadly timebomb

  • @user-zu4ft8yw9e
    @user-zu4ft8yw9e 4 месяца назад

    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.

  • @IndianGermanDiaries
    @IndianGermanDiaries Год назад

    Lmao last one was savage 😂

  • @ShawnChristopher10101
    @ShawnChristopher10101 Год назад +1

    Let's go Billy!

  • @IncomeBoost42
    @IncomeBoost42 Год назад

    Lmao. Great vid with a little storyline too!

  • @IAMVEGETA420
    @IAMVEGETA420 Год назад +1

    as a python programmer this is one in million moment

  • @immortalredneck1259
    @immortalredneck1259 Год назад

    2:00 is that from sly 2 disco theme 😂

  • @_ram16_
    @_ram16_ 10 месяцев назад

    AAAAAAAAAYYYYYEEEE 2:00 was that Dimitri's theme from Sly 2 👀👀👀👀?? 🦎

  • @eduardolz12
    @eduardolz12 Год назад

    How this channel not 300k?

  • @mustafatahadisbudak9944
    @mustafatahadisbudak9944 Год назад

    Love your channel man keep it up.

  • @kalleu117
    @kalleu117 Год назад +1

    That is exact the same filling I have coding in python today. Just logical errors ,-, .

  • @giftjesuoboh5715
    @giftjesuoboh5715 Год назад

    😂😂💔💔
    Light attracts bugs 😂💀

  • @lauracoutinho5478
    @lauracoutinho5478 Год назад +2

    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.

  • @DsComputerWorld
    @DsComputerWorld Год назад +1

    Billy is now genius nooow!😀

  • @afandy4324
    @afandy4324 2 месяца назад

    The time your program runs without bugs is shorter then the life of a mesquito

  • @wrathofainz
    @wrathofainz Год назад

    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.

  • @lord_voldemort44
    @lord_voldemort44 4 месяца назад

    i love billy

  • @polonskyqueens6029
    @polonskyqueens6029 Год назад

    1:51
    Logic errors can be syntactically correct. However, they are known to deviate against expected results or outcomes.

    • @Louis13XIII
      @Louis13XIII Год назад

      How so?

    • @digitmidget6973
      @digitmidget6973 Год назад

      ​@@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.

    • @Louis13XIII
      @Louis13XIII Год назад

      @@digitmidget6973 what if you just have a buggy compiler?

  • @Randych
    @Randych Год назад +1

    >master tweeters
    That didn't age well

  • @TheAkiller101
    @TheAkiller101 Год назад +1

    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

    • @Randych
      @Randych Год назад

      Those are my favourite because they enabled me to learn about k8s more than I wanted to

  • @eboatwright_
    @eboatwright_ Год назад +5

    billy: "i wish for no errors in my code"
    me (an intellectual): "just use JS"

  • @Cahangir
    @Cahangir Год назад

    Quality stuff ))

  • @jesp9435
    @jesp9435 Год назад +1

    I love these videos man! 😍😍❤️❤️

  • @enderpearl90
    @enderpearl90 Год назад

    the fact that the code says "incorrectly_count" is kinda funny

  • @4ngelf
    @4ngelf Год назад

    This is the story of why unit testing was born.

  • @danielkutomi
    @danielkutomi 9 месяцев назад

    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...)

  • @ryoukboy1010
    @ryoukboy1010 Год назад

    POV: When the only code you have ever run first time without bugs is "print('Hello World')"

  • @Randych
    @Randych Год назад

    1:41 muzak?

  • @satnus3388
    @satnus3388 7 месяцев назад

    I tried the same e counter in Javascript, Node.js
    It took 8 tries.

  • @AquaQuokka
    @AquaQuokka Год назад +1

    Surely make a vid of Billy and Shregory having their epic final programming battle...

  • @israellima9
    @israellima9 Год назад

    Does anyone have this picture of the snake with monocles?

  • @pk_fauxtaux
    @pk_fauxtaux Год назад +1

    that's great

  • @Fayroll5
    @Fayroll5 8 месяцев назад

    as an html developer, i can confirm that i met html in real life cuz my code ran without errors.

  • @bubblewrap55
    @bubblewrap55 Год назад

    this one got me to subscribe

  • @Cargren18
    @Cargren18 Год назад

    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 😅

  • @nikolas4786
    @nikolas4786 Год назад

    Rust code always run without errors

  • @initiald975
    @initiald975 5 месяцев назад

    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

  • @gamertronky8648
    @gamertronky8648 Год назад

    Let's do some speedrun for perfect first-time code!

  • @grality
    @grality Год назад

    Music please? 0:36

    • @codycallaway9057
      @codycallaway9057 8 дней назад

      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

  • @JinSumB
    @JinSumB Год назад

    I am another Billy lol

  • @wilhelmgastrov804
    @wilhelmgastrov804 Год назад +1

    As a programmer, getting the code working on the first try will make you think that life is a lie

  • @insanitygaming5048
    @insanitygaming5048 Год назад +1

    10 minutes yeahhh

  • @oloja__
    @oloja__ Год назад +1

    bro what🤣😂

  • @henrypai3193
    @henrypai3193 Год назад

    Billy should have said all types of errors, including logic errors

  • @donutbedum9837
    @donutbedum9837 Год назад

    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

  • @akramsystems
    @akramsystems Год назад

    I only code in light mode during the day

  • @Bindlado
    @Bindlado Год назад

    Que canal incrível, mds

  • @RinsethePig
    @RinsethePig Год назад

    this is facts

  • @ElijahMohrfeld
    @ElijahMohrfeld Год назад

    1:20 We All saw

  • @BLADDLE
    @BLADDLE Год назад +1

    I'm literally studying python rn and I got to say this is accurate af

  • @alexsandoval7217
    @alexsandoval7217 Год назад +1

    xD

  • @deltaecho3282
    @deltaecho3282 Год назад +2

    Hmmmmmm

  • @gigog27
    @gigog27 Год назад

    coding beluga

  • @m.j.v.4463
    @m.j.v.4463 12 дней назад

    Gem

  • @kaanggeng
    @kaanggeng Год назад

    I get scared when my code compiles 5 times in a row without errors

  • @cometolearn8598
    @cometolearn8598 Год назад

    why did the elon suddenly have 1000 'e's when he said i am bored?

  • @Oyalowo_Akorede
    @Oyalowo_Akorede Год назад

    The fact that most ppl dnt use light mode 🤣

  • @jcru102
    @jcru102 7 месяцев назад

    light mode is not bad come on. I use eclipse.

  • @EaglesOps24
    @EaglesOps24 Год назад +1

    If a program runs on the first try... i know something is wrong.

  • @ClasherofWorlds
    @ClasherofWorlds Год назад

    i mean, logic errors are an error

  • @cSaleh
    @cSaleh Год назад +1

    C++

  • @DatSkateFace
    @DatSkateFace Год назад

    AHAHAHA