When Your Code Runs Without Errors...

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ธ.ค. 2024

ความคิดเห็น • 146

  • @Btc314btc
    @Btc314btc ปีที่แล้ว +787

    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?

    • @ВадимСмирнов-е2щ
      @ВадимСмирнов-е2щ ปีที่แล้ว +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 ปีที่แล้ว +2

      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 ปีที่แล้ว +343

    "Because light attracts bugs"
    Perfect.

  • @rsjeyzer
    @rsjeyzer ปีที่แล้ว +428

    I wish Billy adventures never ends

  • @lmeza1983
    @lmeza1983 ปีที่แล้ว +127

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

  • @kayscrib8572
    @kayscrib8572 ปีที่แล้ว +147

    "Because light attracts bugs" 😂😂

  • @noahmunz3201
    @noahmunz3201 ปีที่แล้ว +62

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

  • @weird407
    @weird407 ปีที่แล้ว +160

    Billy is really improving his skills

  • @InfraredScale
    @InfraredScale ปีที่แล้ว +21

    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 ปีที่แล้ว

      Lmao

  • @AJ-pc9gu
    @AJ-pc9gu ปีที่แล้ว +55

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

  • @Dr.Cosmar
    @Dr.Cosmar ปีที่แล้ว +61

    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

  • @RedSky8517
    @RedSky8517 ปีที่แล้ว +17

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

  • @_tym3k
    @_tym3k 11 หลายเดือนก่อน +2

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

  • @razvanpopa1187
    @razvanpopa1187 11 หลายเดือนก่อน +1

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

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

  • @qweasdy-pc6ql
    @qweasdy-pc6ql ปีที่แล้ว +4

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

  • @TheJGAdams
    @TheJGAdams 11 หลายเดือนก่อน

    "Light attract bugs" That is perfection!

  • @IAMVEGETA420
    @IAMVEGETA420 ปีที่แล้ว +1

    light atttracts bugs -
    legit programmer who uses light mode

  • @humanrightsadvocate
    @humanrightsadvocate ปีที่แล้ว +6

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

    • @ripmeep
      @ripmeep 2 หลายเดือนก่อน

      Yeah it does

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

  • @800kpygame2
    @800kpygame2 ปีที่แล้ว

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

  • @sp1r14ual
    @sp1r14ual ปีที่แล้ว +1

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

  • @saisagarsingh3340
    @saisagarsingh3340 ปีที่แล้ว +2

    Shregory got komedi in him 😂

  • @stilllifeenthusiast
    @stilllifeenthusiast ปีที่แล้ว +3

    I need more content with that birdy

  • @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?

    • @FatallyParasocial
      @FatallyParasocial ปีที่แล้ว

      ​@@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 ปีที่แล้ว

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

  • @Sahil_Shukla98
    @Sahil_Shukla98 ปีที่แล้ว +2

    bro I can't explain how good these videos are

  • @-hackers_industry
    @-hackers_industry ปีที่แล้ว +3

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

  • @antonioparesini912
    @antonioparesini912 ปีที่แล้ว +2

    Billy Is my favourite content.

  • @edberaga
    @edberaga ปีที่แล้ว +5

    Lol light attract bugs xD

  • @erikanderson1402
    @erikanderson1402 7 หลายเดือนก่อน

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

  • @halisterfernando9160
    @halisterfernando9160 ปีที่แล้ว

    The code in light mode sentence made my day LMAO!

  • @soluna1679
    @soluna1679 ปีที่แล้ว

    remember guys, a code without bug is a deadly timebomb

  • @mangaart3366
    @mangaart3366 ปีที่แล้ว +1

    Ok this is your best yet I think 😂

  • @ВиталийОвчаренко-и1н
    @ВиталийОвчаренко-и1н 7 หลายเดือนก่อน

    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.

  • @Alexr26
    @Alexr26 ปีที่แล้ว

    "yeaaaaah buddy" LOL such a fine reference

  • @룰루랄라-e6e
    @룰루랄라-e6e 11 หลายเดือนก่อน

    I really like that sunshine bird

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

  • @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")
    ^

  • @ShawnChristopher10101
    @ShawnChristopher10101 ปีที่แล้ว +1

    Let's go Billy!

  • @Randych
    @Randych ปีที่แล้ว

    1:41 muzak?

  • @IAMVEGETA420
    @IAMVEGETA420 ปีที่แล้ว +1

    as a python programmer this is one in million moment

  • @_ram16_
    @_ram16_ ปีที่แล้ว

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

  • @manomancan
    @manomancan ปีที่แล้ว +2

    Man your videos are so entertaining hahaha

  • @ryoukboy1010
    @ryoukboy1010 ปีที่แล้ว

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

  • @Afandy0
    @Afandy0 5 หลายเดือนก่อน

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

  • @initiald975
    @initiald975 8 หลายเดือนก่อน

    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

  • @Fayroll5
    @Fayroll5 11 หลายเดือนก่อน

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

  • @4ngelf
    @4ngelf ปีที่แล้ว

    This is the story of why unit testing was born.

  • @wilhelmgastrov804
    @wilhelmgastrov804 ปีที่แล้ว +1

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

  •  ปีที่แล้ว +3

    No error is not the same as no error messages. No error means that the program produces the right answer.

  • @IndianGermanDiaries
    @IndianGermanDiaries ปีที่แล้ว

    Lmao last one was savage 😂

  • @DsComputerWorld
    @DsComputerWorld ปีที่แล้ว +1

    Billy is now genius nooow!😀

  • @grality
    @grality ปีที่แล้ว

    Music please? 0:36

    • @codycallaway9057
      @codycallaway9057 3 หลายเดือนก่อน

      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

  • @mustafatahadisbudak9944
    @mustafatahadisbudak9944 ปีที่แล้ว

    Love your channel man keep it up.

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

  • @immortalredneck1259
    @immortalredneck1259 ปีที่แล้ว

    2:00 is that from sly 2 disco theme 😂

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

  • @kalleu117
    @kalleu117 ปีที่แล้ว +1

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

  • @Randych
    @Randych ปีที่แล้ว +1

    >master tweeters
    That didn't age well

  • @IncomeBoost42
    @IncomeBoost42 ปีที่แล้ว

    Lmao. Great vid with a little storyline too!

  • @ElijahMohrfeld
    @ElijahMohrfeld ปีที่แล้ว

    1:20 We All saw

  • @lord_voldemort44
    @lord_voldemort44 7 หลายเดือนก่อน

    i love billy

  • @giftjesuoboh5715
    @giftjesuoboh5715 ปีที่แล้ว

    😂😂💔💔
    Light attracts bugs 😂💀

  • @enderpearl90
    @enderpearl90 ปีที่แล้ว

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

  • @eduardolz12
    @eduardolz12 ปีที่แล้ว

    How this channel not 300k?

  • @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 😅

  • @eboatwright_
    @eboatwright_ ปีที่แล้ว +5

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

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

  • @jesp9435
    @jesp9435 ปีที่แล้ว +1

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

  • @henrypai3193
    @henrypai3193 ปีที่แล้ว

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

  • @israellima9
    @israellima9 ปีที่แล้ว

    Does anyone have this picture of the snake with monocles?

  • @gamertronky8648
    @gamertronky8648 ปีที่แล้ว

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

  • @Cahangir
    @Cahangir ปีที่แล้ว

    Quality stuff ))

  • @satnus3388
    @satnus3388 10 หลายเดือนก่อน

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

  • @danielkutomi
    @danielkutomi 11 หลายเดือนก่อน

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

  • @gigog27
    @gigog27 ปีที่แล้ว

    coding beluga

  • @bubblewrap55
    @bubblewrap55 ปีที่แล้ว

    this one got me to subscribe

  • @nikolas4786
    @nikolas4786 ปีที่แล้ว

    Rust code always run without errors

  • @Bindlado
    @Bindlado ปีที่แล้ว

    Que canal incrível, mds

  • @AquaQuokka
    @AquaQuokka ปีที่แล้ว +1

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

  • @kaanggeng
    @kaanggeng ปีที่แล้ว

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

  • @akramsystems
    @akramsystems ปีที่แล้ว

    I only code in light mode during the day

  • @RinsethePig
    @RinsethePig ปีที่แล้ว

    this is facts

  • @oloja__
    @oloja__ ปีที่แล้ว +1

    bro what🤣😂

  • @insanitygaming5048
    @insanitygaming5048 ปีที่แล้ว +1

    10 minutes yeahhh

  • @JinSumB
    @JinSumB ปีที่แล้ว

    I am another Billy lol

  • @pk_fauxtaux
    @pk_fauxtaux ปีที่แล้ว +1

    that's great

  • @EaglesOps24
    @EaglesOps24 ปีที่แล้ว +1

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

  • @Oyalowo_Akorede
    @Oyalowo_Akorede ปีที่แล้ว

    The fact that most ppl dnt use light mode 🤣

  • @jcru102
    @jcru102 10 หลายเดือนก่อน

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

  • @BLADDLE
    @BLADDLE ปีที่แล้ว +1

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

  • @cSaleh
    @cSaleh ปีที่แล้ว +1

    C++

  • @cometolearn8598
    @cometolearn8598 ปีที่แล้ว

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

  • @deltaecho3282
    @deltaecho3282 ปีที่แล้ว +2

    Hmmmmmm

  • @m.j.v.4463
    @m.j.v.4463 3 หลายเดือนก่อน

    Gem

  • @norude
    @norude ปีที่แล้ว

    Getting results wrong *is* an error

  • @ektorcuesta2923
    @ektorcuesta2923 ปีที่แล้ว

    Twitter being a reputable company didnt age well

  • @ClasherofWorlds
    @ClasherofWorlds ปีที่แล้ว

    i mean, logic errors are an error