I had 383 ANEURYSMS in 4 seconds

Поділитися
Вставка
  • Опубліковано 28 вер 2024

КОМЕНТАРІ • 20

  • @asteranx
    @asteranx 11 місяців тому +14

    Putting all your code on one line is the 'carrying all your grocery bags into the house at once' of programming.

  • @redundantpancake
    @redundantpancake 11 місяців тому +5

    Look, it's been a while, didn't know how to finish!

  • @in-craig-ible6160
    @in-craig-ible6160 11 місяців тому +5

    Yeah this is pretty much game development.

  • @TSGPL
    @TSGPL 11 місяців тому +8

    It's cool to see all of the different clips from moments where I couldn't be on your dev streams.
    Can't wait for more of these in the future 👌 (Especially that I now have school and work, so I can't hop on your streams anymore 😔)

  • @rremnar
    @rremnar 11 місяців тому +1

    If you're wondering how that happened with your code just resetting (you probably forgot to save), just wait until your entire project gets bricked by UUID errors. I had to pull a back up and rebuild the entire project. It almost happened again the other day, when I upgraded from 4.1 to 4.1.1, but the errors were few and I fixed the materials that had the error by resetting the texture. Now I upgraded to 4.1.2 and it's smooth sailing. I make backups more frequently now, because I don't trust the software to not go totallly borq lol

    • @Uranthos1
      @Uranthos1 11 місяців тому

      So why don't you use source control?

  • @VisionerX
    @VisionerX 11 місяців тому +3

    Awesome stuff, Jace!

  • @Squiwwel_
    @Squiwwel_ 11 місяців тому +2

    Yay New vid Happy to See it

  • @wearwolf2500
    @wearwolf2500 11 місяців тому

    C# generally tries to stop you from doing silly things. For example casting a bool to an int won't do what you want because a true value is going to be a series of 1s that would result in a value of -1 (Or possibly false is -1, I forget how it works). So multiplying by isRunning would make you go backwards.
    Typically what you want is the Conditional (ternary) operator ? :
    so you could do (isRunning ? 1 : 0) or something like that

    • @reallyanotheruser7290
      @reallyanotheruser7290 11 місяців тому +2

      Meanwhile C++ just converts true to 1 and false to 0 (implicitely even). Exactly what a sane person would expect this convertion to do. I would understand C# requiring it to be explicit, because an implicit convertion could be an unintentional bug, but imo explicit (int)bool should work right out the gate.

  • @RedBeardedJoe
    @RedBeardedJoe 11 місяців тому

    Some of the stuff Jace says could be taken out of context but that's their problem

  • @spacemonster8954
    @spacemonster8954 11 місяців тому +4

    how to cast a bool to a number in c#: int number = myBoolVariable ? 1 : 0;

    • @reallyanotheruser7290
      @reallyanotheruser7290 11 місяців тому

      casting is the one thing that annoyed the hell outta me in C# in general. Felt like a downstep from C++ where everything was just implicit

  • @FunnelCakeRyan
    @FunnelCakeRyan 11 місяців тому +3

    Forget whatever the core game mechanic used to be, it should now be chat random walk races.

  • @MCNeko6554
    @MCNeko6554 11 місяців тому +3

    Loved this video! I wish I could catch more of your streams but I usually go back and try to catch up :) I love seeing your progress!

  • @reallyanotheruser7290
    @reallyanotheruser7290 11 місяців тому +1

    Hey what is the soundtrack at 4:35? Sounds sick!
    On the single-line-code part: Reading only the first few pages of the book "Clean Code" kicked alot of those bad habbits from me, i was definitely guilty of that myself

  • @Warp9pnt9
    @Warp9pnt9 11 місяців тому

    Step-by-step guide to a step-by-step game, with your instructor Chat.

  • @LittlDog
    @LittlDog 11 місяців тому +1

    So much Joy in it ^^

  • @MMuraseofSandvich
    @MMuraseofSandvich 11 місяців тому +1

    I blame Java for absurdly long lines:
    StupidlyLongPackageName.StupidlyLongPackageClass.StupidlyLongFactoryName.StupidlyLongMethodName("Stuipdly long parameter string", 0,0,"bazfoobar");