Computer Scientists review the code for Yandere Simulator

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

ความคิดเห็น • 6K

  • @TheAldroid
    @TheAldroid  4 ปีที่แล้ว +4885

    THANKS FOR WATCHING!
    Final edit: So here we are, at almost 10K subs. Thank you all for watching this video and sticking around. Love from, Allan Aldroid
    Join TheAldroid Discord server here: discord.gg/MJUBR7q

    • @thxmill
      @thxmill 4 ปีที่แล้ว +40

      Thanks for 1k subs
      Sees 3k subs

    • @TheAldroid
      @TheAldroid  4 ปีที่แล้ว +47

      @@thxmill How time flies

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

      @@TheAldroid Trust

    • @TKUltra971
      @TKUltra971 4 ปีที่แล้ว +10

      that opening with that laughter was so terribly funny. Ah what a shit show.

    • @justanotherperson7774
      @justanotherperson7774 4 ปีที่แล้ว +4

      God Bless Your Perfection

  • @homefront1999
    @homefront1999 4 ปีที่แล้ว +12209

    The moment they realized that entire segment of What Ifs are just for a clock is amazing.

    • @asio7580
      @asio7580 4 ปีที่แล้ว +96

      Why I personally think yanderedev is innocent! th-cam.com/video/Y78-KOosWYk/w-d-xo.html

    • @kenschicken1392
      @kenschicken1392 4 ปีที่แล้ว +386

      @@asio7580 U really need some help

    • @firuis1
      @firuis1 4 ปีที่แล้ว +477

      best part is there's almost definitely loads of clock libraries on unity too, so this was literally an unnecessary waste of time (like the rest of the game lol)

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

      @@asio7580 Man that's rude, I was expecting a Rick Roll

    • @FireFly-kz2te
      @FireFly-kz2te 3 ปีที่แล้ว +13

      @@asio7580
      resg
      segseg
      seghes
      hes
      he
      h
      es
      h
      rse
      hs
      h
      he
      re
      h
      Theres a example of his code

  • @YceyNarrates
    @YceyNarrates 4 ปีที่แล้ว +5926

    “Let’s see how many _if/else statements_ we can find”
    Famous last words

    • @haolihfaioefh
      @haolihfaioefh 4 ปีที่แล้ว +109

      "AAAAAAAAAAAAAAAAAAAAAAAAAAAAA!!11!!" -1:29 XD

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

      else if

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

      Yeah, I’m a matlab “coder” and I don’t use if then that much

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

      And those where his last words before he died of brain rot

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

      ctrl-f "if"
      *computer bursts into flame*

  • @ArtificialHuman1
    @ArtificialHuman1 4 ปีที่แล้ว +8127

    the game: "yandere simulator"
    the code: *"else if simulator"*

    • @trashking471
      @trashking471 4 ปีที่แล้ว +19

      @Matty Bruno Lucas Zenere Salas
      No it is not, but ok.

    • @ganyu5662
      @ganyu5662 4 ปีที่แล้ว +11

      explain how its outdated

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

      How did i got this many likes?

    • @sheeloesreallycool
      @sheeloesreallycool 4 ปีที่แล้ว +36

      Matty Bruno Lucas Zenere Salas The code still has “else if” spam so this is still relevant

    • @sheeloesreallycool
      @sheeloesreallycool 4 ปีที่แล้ว +19

      Matty Bruno Lucas Zenere Salas buddy please stop arguing and listen please I know it’s hard to accept that your favorite dev is bad, but it’s ok

  • @drowsyvt
    @drowsyvt ปีที่แล้ว +1525

    Remember, this guy posted a picture of his if else statement codes and captioned it with "I wish there was an easier way to do this."

    • @grzyb11
      @grzyb11 9 หลายเดือนก่อน +201

      that code was absolutely the stupidest shit i have ever seen in my life, even worse that return "knife”;

    • @sillypinkmoth
      @sillypinkmoth 5 หลายเดือนก่อน +10

      my awesome flower

    • @monika_rose992
      @monika_rose992 5 หลายเดือนก่อน +33

      Even high schoolers know what iteration is tf ;(

    • @Aayuuush721
      @Aayuuush721 3 หลายเดือนก่อน +18

      Who is gonna tell bro about OR logic gates 😭🙏🏽

    • @kitonamilol539
      @kitonamilol539 2 หลายเดือนก่อน +23

      This isn't true actually. Someone just edited his pfp and handle onto the og image
      Still funny though

  • @jyjori
    @jyjori 4 ปีที่แล้ว +13832

    The biggest file in the game is for a toothbrush.
    A toothbrush that you never even f*cking use.

    • @realdragon
      @realdragon 4 ปีที่แล้ว +1635

      But the first thing in every game I do is looking for toothbrush and looking at every detail of it

    • @Char-mv3fc
      @Char-mv3fc 4 ปีที่แล้ว +454

      I think it was from a poster, they removed the file from the project.

    • @royalblanket
      @royalblanket 4 ปีที่แล้ว +775

      @@Char-mv3fc yeah, it was in the senpai shrine... such an important model

    • @Char-mv3fc
      @Char-mv3fc 4 ปีที่แล้ว +616

      @@royalblanket Wow, even more important than Osana! How could I have missed that toothbrush!

    • @ballmonokuma1229
      @ballmonokuma1229 4 ปีที่แล้ว +33

      .wow

  • @totallynotarobot5476
    @totallynotarobot5476 4 ปีที่แล้ว +9495

    Normal people: "We should go to the movies today."
    YandereDev: "Should we go to the park? No.
    Should we go to an amusement park? No.
    Should we go to the beach? No.
    Should we go to the airport? No.
    Should we go to the grocery store? No.
    Should we go the aquarium? No.
    Should we go to town hall? No.
    Should we go to Alabama? No.
    Should we go to the Yellowstone National Park? No.
    Should we go to the movies? Yes.
    *Retrieves a pen and paper*
    *Writes down "movies" on the paper and puts it down*
    *Picks the paper back up and reads it*
    We should go to the movies."

    • @nyoom7495
      @nyoom7495 4 ปีที่แล้ว +408

      Underrated and hilarious.

    • @webbmerriam6984
      @webbmerriam6984 4 ปีที่แล้ว +832

      "Hey, the way you're coding is really inefficient."
      Should I optimize my code? No.

    • @anchovieduce
      @anchovieduce 4 ปีที่แล้ว +165

      name checks out, hopefully you aren't written by YanDev

    • @mambodog5322
      @mambodog5322 4 ปีที่แล้ว +97

      @@anchovieduce Why would they be? They're not a robot, it says so in their name!

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

      This helped me understand how you could condense this code while also making me laugh my ass off, thank you

  • @littleblueclovers
    @littleblueclovers 4 ปีที่แล้ว +15242

    The funniest and saddest part is that YanDev got coders to fix the whole thing and then got angry later on because he couldn’t understand it and therefore couldn’t “make changes” without their help. He scrapped the whole thing.
    That’s like getting angry that a mechanic changed your pile of trash into a car.

    • @missplebbharuko
      @missplebbharuko 4 ปีที่แล้ว +346

      True lmao

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

      "This is MY piece of trash, I know how to use it! Now it's a car and I can't drive a CAR!"

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

      @@urielseptim910 I don't have the CODE

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

      That's sad

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

      Dude's a massive control freak

  • @Maxler5795
    @Maxler5795 ปีที่แล้ว +5860

    Fun fact, tiny build sent one of their programmers over to work with yandere dev. He was surprised by how bad it was. And rewrote THE WHOLE THING.
    He then got shit on by yandere dev because it was "hard to read"

    • @serena841
      @serena841 ปีที่แล้ว +1051

      I sometimes think about this poor programer.

    • @user-qb7xi9kz4p
      @user-qb7xi9kz4p ปีที่แล้ว

      Oh hell no. I'd shit on them too cause they ain't claiming my game. It's just like working with cartoon network but will bash you and steal your work if your a low profile.

    • @theerrantwanderer
      @theerrantwanderer ปีที่แล้ว +169

      Tiny Build? You mean the guys who made the overrated Hello Neighbor series?

    • @ThornHailsnap
      @ThornHailsnap ปีที่แล้ว +821

      @@theerrantwanderer Not the guys who made it. The guys who supported the guys who made it.

    • @shottwice
      @shottwice ปีที่แล้ว +552

      @@theerrantwandererthey supported it, they didn’t make it themselves though
      and even if they did TinyBuild would have arguably better code than YanDev ever will 💀

  • @stefan6347
    @stefan6347 4 ปีที่แล้ว +29659

    Someone who understands coding: **laughs**
    Someone who doesn't understand coding: **laughs**

  • @alyssast.thomas1015
    @alyssast.thomas1015 4 ปีที่แล้ว +14051

    I don’t know anything about computer science, but I was not expecting coding for every single digit of a hand/finger

    • @SaltynSassy31
      @SaltynSassy31 4 ปีที่แล้ว +570

      Haha yeah me neither that was so odd

    • @soulhoney1908
      @soulhoney1908 4 ปีที่แล้ว +625

      Else if else if else

    • @Lavantte
      @Lavantte 4 ปีที่แล้ว +63

      s a m e

    • @QuincyIsCrispy
      @QuincyIsCrispy 4 ปีที่แล้ว +469

      With no context, it's hard to comment, but the purpose of that was seemingly to set the rotation of a bone from 'kun' to 'chan'.
      To me, it doesn't seem very wrong. How else would you copy every value from one skeleton to another? At the end of the day, that whole process will always happen.
      I think what he should've done is just copied 'kun's current animation over to 'chan's, and let the Unity Animation stuff take care of the bone manipulation. But it really depends on what that snippet is used for.
      Animations are going to edit the local transform of each bone anyway, maybe with optimizations to ignore bones that don't move over time, but if you're animating a flat hand into a fist, of course it's going to have to edit the bones for each and every finger

    • @hahaimadumbass8593
      @hahaimadumbass8593 4 ปีที่แล้ว +4

      Yeah.

  • @KORONEVIRUS
    @KORONEVIRUS 4 ปีที่แล้ว +14164

    Yandere Dev: *claims that people who see his coding know nothing about it*
    Noobs at coding: wtf is this
    Pros at coding: wtf is this

    • @FletcherCat
      @FletcherCat 4 ปีที่แล้ว +1559

      I know nothing about coding
      Even I can tell it's trash

    • @gerardomiguelreyesgaona1641
      @gerardomiguelreyesgaona1641 4 ปีที่แล้ว +845

      collegue dropout at coding:wtf is this

    • @picklepie5127
      @picklepie5127 4 ปีที่แล้ว +553

      Me who doesn't know shit about coding: wtf is this

    • @sproutify
      @sproutify 4 ปีที่แล้ว +312

      me who doesn’t know two shits about coding: wtf is this

    • @me-dc8pj
      @me-dc8pj 4 ปีที่แล้ว +232

      Me, who's only coding experience is a Kano coding set: wtf is this?

  • @ponivi
    @ponivi ปีที่แล้ว +1795

    The code is the equivalent of a kindergartener using addition and subtraction to solve every problem because they don’t know multiplication or division

    • @LiterallyAllNamesAreTaken
      @LiterallyAllNamesAreTaken 9 หลายเดือนก่อน +71

      I’m an adult and just got called out.

    • @thardump859
      @thardump859 6 หลายเดือนก่อน +19

      I have no idea how to do division. I completely forgot how to do it. I also have literally no knowledge of algebra either.... Please help me....

    • @ponivi
      @ponivi 6 หลายเดือนก่อน +44

      @@thardump859 simple Division is just grouping, there’s 4 3s in 12, etc. long division is that idea but done from largest to smallest
      144/12
      12*10=120
      144-120=24
      12*2=24
      24-24=0
      10+2=12
      144/12=12
      (I dunno why I care, but hopefully this helps)

    • @ponivi
      @ponivi 5 หลายเดือนก่อน +2

      @@SilentBlackOp ok

    • @callumclark4351
      @callumclark4351 5 หลายเดือนก่อน +19

      @@thardump859 division is just subtraction multiplied. 20/5 is 4 because you can subtract 5 from 20 four times before you reach zero

  • @rubyy.7374
    @rubyy.7374 4 ปีที่แล้ว +5055

    YandereSimps: “You’re not a programmer! You don’t know if the code is bad.”
    Programmers: “Hold my keyboard.”

    • @slosh1013
      @slosh1013 4 ปีที่แล้ว +91

      I stg this code language is the same one they teach in year 9 (grade 8 I think)

    • @bettyowo
      @bettyowo 4 ปีที่แล้ว +32

      @@slosh1013 its C# that is used in the Unity engine xd

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

      This is how I've been taught coding in IT class at the age of 12-14 in middle school

    • @pinekel8987
      @pinekel8987 4 ปีที่แล้ว +26

      @@theuncannydag no way you were taught c# in middle school lol

    • @theuncannydag
      @theuncannydag 4 ปีที่แล้ว +29

      @@pinekel8987 Pascal & basic C++. My school curricular was fancy like that

  • @stickbugorozzie6371
    @stickbugorozzie6371 4 ปีที่แล้ว +6523

    Me who has only taken one class on coding 3 years ago in middle school: “Wait... Isn’t there a more efficient way to do this?”

    • @undeadprincess5726
      @undeadprincess5726 4 ปีที่แล้ว +550

      Oml same. I've done coding on a pong game in middle school that runs better than yan sim.

    • @kennnnny
      @kennnnny 4 ปีที่แล้ว +235

      Went through a Computer Science class just last year that I hated for school. Was waiting for the point in the video where they’d see the else ifs

    • @Oscar-j6b
      @Oscar-j6b 4 ปีที่แล้ว +230

      Bruh, I have zero clue about coding and even I can tell that code is fucked.

    • @pikofan847
      @pikofan847 4 ปีที่แล้ว +16

      Kenny just got rejected for my computer science class y a y

    • @kennnnny
      @kennnnny 4 ปีที่แล้ว +15

      The magic Of the Fait If you were looking forward to it: sucks man, I hope youre doing ok! If thats a good thing: thank fucking god

  • @zer0_ne0
    @zer0_ne0 4 ปีที่แล้ว +1556

    "this is boring."
    "do ya wanna go play roblox?"

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

      Proof yanderedev is a scammer..
      th-cam.com/video/Sa5A7AMjReE/w-d-xo.html

    • @metro_1543
      @metro_1543 4 ปีที่แล้ว +84

      At least Roblox has decent creators compared to yansim

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

      Roblox has better coding still

    • @memeyartist5591
      @memeyartist5591 4 ปีที่แล้ว +13

      Roblox DEADASS has code 100x better than the code of yansim lmfao

    • @joVeeNoise
      @joVeeNoise 4 ปีที่แล้ว +16

      Roblox highkey cleaned up their optimization, it’s still not _great_, but it’s so much better than it was a few years ago
      honestly I think that if they hire some new people to work on shaders and stuff, their game might actually run like a normal game.

  • @jimcobbler3954
    @jimcobbler3954 ปีที่แล้ว +609

    I…
    I’ve been taking Java AP classes.
    And im not sure if that code makes me feel afraid, angry, or impressed.
    It takes DETERMINATION to write (or copy-paste) that many lines of code, and not once think: “there’s gotta be a better way”

    • @moonaqu
      @moonaqu ปีที่แล้ว +46

      no because why would you WILLINGLY go through all of that instead of thinking „yo there’s a better way to do this shit“

    • @yeicore
      @yeicore ปีที่แล้ว +22

      Determination and pure stubbornness haha

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

      To me it looks more like stupidity

    • @f87582
      @f87582 4 หลายเดือนก่อน +5

      the way he expects people to pay for this mess because he made it needlessly painful for himself is.. kinda like how ads will purposefully play the game wrong to try and get you invested. exploitive of everyone else's competence and ability to do things

    • @f87582
      @f87582 4 หลายเดือนก่อน +1

      the way he expects people to pay for this mess because he made it needlessly painful for himself is.. kinda like how ads will purposefully play the game wrong to try and get you invested. exploitive of everyone else's competence and ability to do things

  • @snowchestersystem8974
    @snowchestersystem8974 4 ปีที่แล้ว +14426

    Me who doesn’t understand any of the code:
    **confused laughter**

    • @kidbuu9672
      @kidbuu9672 4 ปีที่แล้ว +64

      Proof yanderedev is a scammer...
      th-cam.com/video/Sa5A7AMjReE/w-d-xo.html

    • @ur1simp893
      @ur1simp893 4 ปีที่แล้ว +75

      @@daisyjane7639 it's not mate the link is different compared to the rickroll

    • @noobiekid5303
      @noobiekid5303 4 ปีที่แล้ว +14

      Same

    • @nomarukaz
      @nomarukaz 4 ปีที่แล้ว +64

      @@daisyjane7639 Rick roll ends with XcQ

    • @matchi457
      @matchi457 4 ปีที่แล้ว +4

      Mhm..

  • @fotu7957
    @fotu7957 4 ปีที่แล้ว +5897

    Can't wait for the sequel where Allan and I play Roblox instead

    • @TheAldroid
      @TheAldroid  4 ปีที่แล้ว +571

      It's time to game on roblox bro

    • @cheriquebutterfly
      @cheriquebutterfly 4 ปีที่แล้ว +232

      Let be real even Roblox can make beter version

    • @demoman4335
      @demoman4335 4 ปีที่แล้ว +65

      Arsenal has better code and gameplay than this

    • @S4c9
      @S4c9 4 ปีที่แล้ว +19

      @@demoman4335 random low quality free models that doesn't even work works better.

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

      Proof Yanderedev is innocent: th-cam.com/video/QNulS324Fww/w-d-xo.html

  • @joe2501echo
    @joe2501echo 4 ปีที่แล้ว +4786

    "Time STOP"
    *framerate instantly doubles*

    • @AnimeScriptMe
      @AnimeScriptMe 4 ปีที่แล้ว +96

      HAHAHAHAHA

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

      Benefits of not having to animate every single bone in every model, I guess.

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

      @@abadenoughdude300 I imagine it more has to do with the titanic amound ot if/then statements that are being run for every character on every frame rendered. I'm pretty sure they just do the ol' T-pose shuffle when you're not looking directly at them most of the time.

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

      STAR PLATINUM:ZA WARUDO! DOUBLE MY FRAMERATE!

    • @inkchariot6147
      @inkchariot6147 ปีที่แล้ว +9

      @@lmao1660 DIO: ZA HITO BOKKUSU! GIVE JOTARO MORE RECOVERY FRAMES!!

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

    Yandere Dev spent an hour in Scratch and decided that's enough to make a game.

    • @claudinhacacau7757
      @claudinhacacau7757 ปีที่แล้ว +71

      scratch Jr*

    • @randompromises1038
      @randompromises1038 ปีที่แล้ว +106

      I think of how Toby Fox wasn't that experienced in game design either aside from a handful of ROM hack games and yet he came out with a masterpiece he primarily made on his own with the exception of a couple of friends/Temmie Chang who did the art for character models and cutscenes.

    • @Biditchoun
      @Biditchoun 10 หลายเดือนก่อน +31

      Well to be fair, it kinda works. If starting from scratch it's something. Just a shame he doesn't want to make it better.

    • @antt2228
      @antt2228 10 หลายเดือนก่อน +48

      @@randompromises1038 i mean tbf undertales code is pretty disorganized too afaik. Still, Toby Fox knew to stay away from feature creep

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

      @@randompromises1038 Yes but making romhacks can teach you about working within limitations and therefore, optimize your game (which doesnt have much to do with what you said but whatever)

  • @raibarufumetsu9410
    @raibarufumetsu9410 4 ปีที่แล้ว +12591

    Yandere Dev’s coding is what programmer’s sleep paralysis demons look like

    • @xivk1
      @xivk1 4 ปีที่แล้ว +66

      LMAO😃💀

    • @petrichorrs
      @petrichorrs 4 ปีที่แล้ว +40

      LMAOOO

    • @cheaire
      @cheaire 4 ปีที่แล้ว +136

      programmer's sleep paralysis demon's sleep paralysis demon

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

      @Frozen Bananas That’s the beauty of it, his own creation realizes they suck

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

      "I never intended for my code to be the game's final code; just the placeholder code that would be good enough to produce a playable demo that shows off most of the game's intended functionality."
      Pretty sure it won't stay like this
      (Pls don't break my arm)

  • @alkeryn1700
    @alkeryn1700 4 ปีที่แล้ว +10882

    As a computer scientist myself, i laugh so much reading that code lmao
    man legit i don't get how you can "code" for 6 years and still be that bad wtf

    • @TheAldroid
      @TheAldroid  4 ปีที่แล้ว +2167

      When someone can remake a large amount of the game in 2 weeks you know you screwed up

    • @alkeryn1700
      @alkeryn1700 4 ปีที่แล้ว +1264

      @@TheAldroid i mean some entire files could be replaced by a single line lmao

    • @TheAldroid
      @TheAldroid  4 ปีที่แล้ว +976

      @@alkeryn1700 All it takes is 10 mins looking it up on the internet haha

    • @Jinglex
      @Jinglex 4 ปีที่แล้ว +461

      I'm not exactly a computer scientist, but even I understand that this coding is JUST HORRIFYING

    • @oldcat1790
      @oldcat1790 4 ปีที่แล้ว +640

      I mean, it's hard to code anything when you spend 99% of your time banning people on reddit, discord, youtube, twitter, and who knows where else. Maybe he should become a full time moderator lol

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

    I like how this video progressed from reviewing bad coding to a straight up Jojo’s Bizarre Adventure episode

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

      I’m the 69th like :)

    • @__-yf6fm
      @__-yf6fm 3 ปีที่แล้ว +32

      they where like "NANI???"

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

      Muda muda muda...?

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

      See it's bizzare

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

      I want a stand that attacks with drafting tools.

  • @vizthex
    @vizthex ปีที่แล้ว +310

    i love how stopping time at 11:50 magically improved the reputation by 20 points.
    i guess dead bodies aren't too bad if time is frozen lol

  • @Hello-Students
    @Hello-Students 4 ปีที่แล้ว +1688

    'Nooooo, you can't just watch a video about code when you know nothing about code!!!' 'Hehe, Allan go loud'

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

      Lmao me too

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

      999 likes....
      I HAVE THE ULTIMATE POWER!!!

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

    Their code is like listing every fruit to determine if you're looking at an apple or not

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

      “is this an orange? no. is this a pear? no. is this a strawberry-?”
      “it’s an apple, just eat the damn thing already”

    • @SubSilence
      @SubSilence ปีที่แล้ว +93

      @@TPNsBiggestFan I dunno man, it might be a durian for all we know

    • @zenochara7522
      @zenochara7522 ปีที่แล้ว +50

      @@SubSilence could be a dragon fruit

    • @Dr_mafario
      @Dr_mafario 11 หลายเดือนก่อน +42

      The switch statement: *cries in the corner for several hours, watching as yandev uses 1700 else ifs for the most mundane tasks

    • @MaQuGo119
      @MaQuGo119 11 หลายเดือนก่อน +3

      Their?

  • @anyapeanutlover
    @anyapeanutlover 4 ปีที่แล้ว +5209

    if (this.Type == FloorType.Floor)
    {
    return "floor";
    }
    Hmm yes, the floor is made out of floor.

    • @blitzyblook3315
      @blitzyblook3315 4 ปีที่แล้ว +171

      litteraly
      *badum shh*

    • @52flyingbicycles
      @52flyingbicycles 4 ปีที่แล้ว +73

      Yanderedev clearly missed the unit about inheritance

    • @brickbowl3711
      @brickbowl3711 4 ปีที่แล้ว +37

      I don't understand that but I know that it is a meme so I must like

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

      *Correct*

    • @raszop
      @raszop 4 ปีที่แล้ว +31

      This actually is the way you do it as enum itself don't hold the value other than integer. If you want to print a name of item somewhere, you can do it this way and it's fine. More cringe is the fact you wanted to make a joke and couldn't even get the condition correct lol

  • @mmmmmno-mm2vw
    @mmmmmno-mm2vw ปีที่แล้ว +219

    5:20 I also like how the name of the function claims to calculate the affection, but the affection is already calculated and it just "calculates" the affection LEVEL

  • @blxckhippie
    @blxckhippie 4 ปีที่แล้ว +816

    I'm not even a qualified computer scientist yet but these videos actually teach me not what to do when coding

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

      You don't write poorly optimized "functional" spaghetti code and proclaim to fix it later. On bigger project it becomes impossible to fix it on the long run and either you have a really poorly optimized product or just plain trash you have no choice but to scrap. Not to mention you may even get lazy to fix it later which is what you can see here with Alex

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

      @@debban6397 Yea why didn't a guy with no programming experience just start writing optimal code in a language he didn't know on an engine he didn't understand? He must be some sort of moron.

  • @NotyourGlasses
    @NotyourGlasses 4 ปีที่แล้ว +3480

    My fiancé, who has only taken 2 beginner coding classes, practically died watching this video. The clock code was the main thing, because it took her less than 30 seconds to look up a tutorial video on how to code a digital clock, and you didn't even have to watch the whole video, just skip to the end and copy the code.

    • @theshermantanker7043
      @theshermantanker7043 4 ปีที่แล้ว +218

      The simplest clock you can code yourself without relying on built in systems is a counter that increments by 1 up till 60 every second whereby it resets afterwards to 0. That's something that minecraft does actually
      EDIT: Why 60 you ask? Because most games run at 60fps internally (Internal fps is very different from screen fps and is almost always fixed because critical logic inside the game always assumes that it is running at the fixed rate). Minecraft's core code actually restricts itself to 20 frames a second, and consequently it's counter only goes up to 20 before resetting

    • @missplebbharuko
      @missplebbharuko 4 ปีที่แล้ว +60

      I'm a 6th grader who doesnt know a lot about coding and even *I* know the code is crap.

    • @Laura-Yu
      @Laura-Yu 3 ปีที่แล้ว +2

      @MathanInc What’s your point in relation to what the OP said? It’s obvious YandereDev has a big ego.

    • @eldritchomen
      @eldritchomen 3 ปีที่แล้ว

      @MathanInc He is though

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

      Okay but coping codes is so lazy like it's the worst thing you could ever do😂 you need passion

  • @irnasyach
    @irnasyach 4 ปีที่แล้ว +2455

    The Kun = Chan hands means the boys' fingers = the girls' fingers 😂

    • @manlyman7629
      @manlyman7629 4 ปีที่แล้ว +100

      Proof Yanderedev is innocent: th-cam.com/video/QNulS324Fww/w-d-xo.html

    • @CoffeeSuccubus
      @CoffeeSuccubus 4 ปีที่แล้ว +81

      @@manlyman7629 Agh you got me

    • @russeauemile5163
      @russeauemile5163 4 ปีที่แล้ว +70

      @@manlyman7629 not today, satan 🔫

    • @-noah-5141
      @-noah-5141 4 ปีที่แล้ว +11

      Ayano Aishi goddamit. You got me

    • @thaliagubantes6811
      @thaliagubantes6811 4 ปีที่แล้ว +14

      @@manlyman7629 you got me, yan-chan

  • @vanlichtinstein
    @vanlichtinstein ปีที่แล้ว +136

    of the screenshots, here is what I believe they are for:
    1:30 changing uniform of current character
    2:03 returning a localized version of the name for your current weapon
    3:00 displaying a clock through string in UI
    3:38 an entire background button being enabled to highlight choices for gamepad and is moved to simulate which option is selected?
    4:38 returning an affection level instead of a float percentage
    5:58 swapping character models in place before hiding and/or deleting the old model

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

    You have been a programmer for almost a decade
    You have gotten so much support
    Your idle animation take up 2761 lines of code

    • @LethalLizardStudios
      @LethalLizardStudios ปีที่แล้ว +12

      @@Temari_Virus hold up how did you use discord for version control, did you save the text with it or upload the file. Also kind of smart if you where essentially using it as cloud storage for your code

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

      @@LethalLizardStudios I used to do projects where all the code was in one file, so I'd just upload the source file to discord lol

    • @theducknamednewepicla9507
      @theducknamednewepicla9507 ปีที่แล้ว +23

      I'm not a programmer,but that seems like alot.

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

      @@theducknamednewepicla9507 As a beginner game dev, i can confirm, as my line of code for : Moves, Inputs, and Animations takes only 39 lines in one script.
      How?

    • @SticKinGamma
      @SticKinGamma ปีที่แล้ว +4

      too sad its not 2763

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

    Yandere Dev is a perfect example of a developer you should aspire not to be. I applaud his conviction for maintaining that role for 6 years.

    • @kk_1789-g2g
      @kk_1789-g2g 2 ปีที่แล้ว +19

      True.

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

      Yandere Dev: Incompetent god of else ifs.

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

      Yup

    • @roboj05
      @roboj05 ปีที่แล้ว +7

      Reminds me of one qoute I forget where it's from: "I'm not useless! I can be used as a bad example!"

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

      Going around on probably 10 now. 😂

  • @theevauwu7853
    @theevauwu7853 4 ปีที่แล้ว +562

    If I sent his code to any computer science teacher in my school, I think they would get a stroke.

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

      If i sent it to any of them, I'd get killed

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

      @Ultimate Detective 2.0 I m a noob in coding, could you please explain why exactly?-

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

      @Ultimate Detective 2.0 okay thanks

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

      If i recommendedthat to my game development class teacher he would up and die at the sight of all the what ifs

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

    My friend deadass told me that his teacher for his computer science pulled this game up when he was getting into what shitty coding is
    This video just solidifies it lmao

    • @exclusiveextremo5799
      @exclusiveextremo5799 ปีที่แล้ว +102

      LMAO FOR REAL?!

    • @humantoon
      @humantoon ปีที่แล้ว +196

      That is honestly the most unsurprising news I’ve heard and it’s absolutely FUCKING HILARIOUS- how bad do you gotta be to be a LITERAL EXAMPLE of what NOT TO DO??? 😂😂😂

    • @lucasfragoso7634
      @lucasfragoso7634 11 หลายเดือนก่อน +42

      @humantoon well considering our favorite spaghetti coder refuses to let anyone simplify the code because he thinks it's genius that can do no wrong. Horrifically bad

    • @satyman08
      @satyman08 11 หลายเดือนก่อน +28

      that's actually legendary

    • @_GeoDraws_
      @_GeoDraws_ 9 หลายเดือนก่อน +15

      That is so fucking funny holy shit-
      That teacher is a legend.

  • @spiderlegz6086
    @spiderlegz6086 4 ปีที่แล้ว +6117

    Do I know anything about code? No.
    Do I know this is bad? Yes.
    Edit: you guys are not going to change each other’s minds. This is the internet, you’re flooding my notifications.

    • @loganstoddart1026
      @loganstoddart1026 4 ปีที่แล้ว +90

      This code isn't the code that he shows us as the functional demo with Osana and raibaru you know like around 2015, when Yandere Simulator got popular on TH-cam, he felt a lot of pressure to upload content as frequently as possible. he committed to a "new video every 2 weeks" upload schedule, which required him to hastily slap features into the game as fast as possible. As a result, Yandere Sim was developed almost exclusively in "crunch time" from 2015 to 2017. During this phase of the game's development, he wasn't focusing on optimization or long-term maintainability whatsoever; he was thinking exclusively about putting cool new features into the game as quickly as possible, in order to maintain a steady upload schedule. As you showed us yourself:
      His plan, which has remained unchanged since the beginning of the game's development, was to produce a cool demo, hold a crowdfunding campaign, and use the money to hire a professional software engineer to completely replace him as Yandere Sim's lead programmer. he never intended for his code to be the game's final code; just the placeholder code that would be good enough to produce a playable demo that shows off most of the game's intended functionality. He explained this thoroughly in a November 2018 video titled "What's Going On With Yandere Simulator's Development?" (However, it seems that most people have forgotten or disregarded this video.)
      To be honest, there is no point in analyzing code that was written under the circumstances described above. The code was never meant to be final, just functional, in order to allow people to experience a playable demo before putting any money into a crowdfunding campaign. Reviewing the code in its current state is about as meaningful as reviewing the earliest rough draft of a novel, instead of reviewing the final published work.
      he’s fully aware of which scripts are sub-optimal, and he knows exactly what would need to be done in order to improve them...but refactoring dozens of scripts would significantly delay the game's development, which is a sacrifice he’s not willing to make at this point in time, when he’s less than 2 months away from releasing Osana. He intends to stick with the original plan: release Osana, hold a crowdfunding campaign, hire a programmer to replace him, and *then* go through a refactoring phase.
      There are a lot of myths about Yandere Simulator's code. For example, there are people who believe that low-end machines have difficulty running Yandere Simulator because of long if-else chains. That's simply not true. The times when he uses expensive operations (string comparisons, GetComponent, long if-else chains) are almost exclusively only in functions that run for one frame and never run again. A function which only runs for one frame cannot possibly harm a game's performance. People make claims about the game's code that are simply not true.
      The Unity profiler tells him that the CPU is spending an exceptionally long time on rendering, physics, pathfinding, and updating the UI. Even the game's most inefficient, sub-optimal scripts are barely putting a dent in the FPS; the other factors are far more important. In January, his average framerate was 30 FPS, but in May, his average framerate jumped up to 55 FPS. This was not achieved by converting if-else statements to switch statements, but by optimizing occlusion culling and removing unnecessary physics operations.
      In the end, he severely regrets his decision to commit to a "new video every 2 weeks" update schedule. In order to implement major features on a tight deadline back-to-back for multiple years, he had to make numerous personal sacrifices. Remaining in constant crunch time for a period of two years put him into a state of severe burnout, and had a tremendous impact on his physical and mental health. Because he has remained fully committed to Yandere Simulator for 6 years straight, he has never truly had an opportunity to recover from that burnout, and remain in that state to this day.
      So i think that he may have refactored already and THATS whats also taking so long.

    • @spiderlegz6086
      @spiderlegz6086 4 ปีที่แล้ว +378

      Shawn Behrens can you dumb this down for me? I don’t have the attention span for this

    • @loganstoddart1026
      @loganstoddart1026 4 ปีที่แล้ว +28

      @@spiderlegz6086 forgive me

    • @loganstoddart1026
      @loganstoddart1026 4 ปีที่แล้ว +82

      @SpiderLegz well, He made the game's code in the quickest way possible in order to test aound the movements and bugs and ways And really just to Make the entire structure of the game basically
      basically the code we have access to seeing is not what he uses to showcase the real Osana Programme. Because he wants to show us the demo as if it was the real game someone we see it for the 1st time it's like "oh my God why it look so different in yet it's the same but it's so much better!"

    • @loganstoddart1026
      @loganstoddart1026 4 ปีที่แล้ว +32

      @@spiderlegz6086 So for the real game hes cleaning up the else if code, however there are places were in else if code is actually more useful.
      Like when calculating what a student with the teacher's pet persona is going to do when he reacts to murder.

  • @Chrischi3TutorialLPs
    @Chrischi3TutorialLPs 4 ปีที่แล้ว +540

    Fun fact: While the code is horrendous, the main reasons the game has as low of a framerate as it does is:
    1: YandereDev is so bad at coding, not even his own FPS counter works properly, in reality the framerate is a tad higher than the counter claims most of the time, and
    2: The absolutely humongous student class is called every tick for every NPC in the game, which slows the game down because of the fact that computers arent built to handle that much loading all at once.

    • @Kikikan
      @Kikikan 4 ปีที่แล้ว +10

      The first part is right, the second, however, is not. The game lags mainly because of UI rendering, and model rendering, because the models are not optimized for a game.
      EDIT: YanDev already fixed #1.

    • @Chrischi3TutorialLPs
      @Chrischi3TutorialLPs 4 ปีที่แล้ว +22

      @@Kikikan That too is true. A lot of the models arent meant to be used in a video game. One of the games heaviest models is a toothbrush afterall. Plus, a lot of other models have too much LoD for what they are.

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

      Proof yanderedev is a scammer..
      th-cam.com/video/Sa5A7AMjReE/w-d-xo.html

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

      @Matty Bruno Lucas Zenere Salas Still, the biggest model in the game by far is a toothbrush (At least to my knowledge) thats just a thing in the background and meant for rendering, not for putting it in a video game. Something of that size should have a few dozen polygons at max, not a few thousand.

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

      @Matty Bruno Lucas Zenere Salas Realism or not, a competent dev would know that putting something with several thousand polygons thats the size of a toothbrush into a game when you cant even interact with it is NOT how you make a game with good performance (Though again, the main problem is the size of the student class and how frequently its called)

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

    My man yandere dev spent years coding this and never thought, “can I make this more efficient?”

    • @pingeee
      @pingeee ปีที่แล้ว +68

      @Harmony LOL WTF who tf writes "placeholder code"

    • @axain7784
      @axain7784 ปีที่แล้ว +122

      @@pingeee I'll tell you who does it: A skinwalker does that shit. That's right, ladies and gentlemen, Yandere Dev is a skinwalker.

    • @epicm999
      @epicm999 ปีที่แล้ว +35

      @@pingeee A lot of people do. What I'm assuming everyone here is pissed off at yanderedev for is not optimizing it after having it in place for years.

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

      I guess that's not really his goal.

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

      @@rabhudoj Agreed lol

  • @blerst7066
    @blerst7066 ปีที่แล้ว +234

    5:50 That WALL of code made me want to throw up.

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

      You’re just jealous you could never code as good as him.

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

      @@Evine29lmao
      i'd take a monkey smashing the keyboard over this

    • @N4TSUK11
      @N4TSUK11 5 หลายเดือนก่อน +47

      @@Evine29 Praying that you're being sarcastic.

    • @gamer_glenn5438
      @gamer_glenn5438 5 หลายเดือนก่อน +16

      ​@@N4TSUK11 bozo said the same thing to another comment, so I don't (think) they're joking.

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

      I remember copy pasting a massive wall like that A LOT a year ago. Glad i found a new better method now

  • @coldsalad6686
    @coldsalad6686 4 ปีที่แล้ว +2268

    "Please don't report bugs that can only occur through the use of Easter eggs"
    But...but they're bugs...
    If there's a bug, then shouldn't it be fixed?

    • @anastasiao4036
      @anastasiao4036 4 ปีที่แล้ว +256

      He doesn't want to work on that stuff, but he'll add a new buggy Easter egg

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

      I guess he doesn't know how to implement easter eggs properly and the ones that work, work on accident. If he fixed the bugs the easter eggs would stop working.

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

      He claims that it's because easter eggs wont be in the final game but like why even put it in there in the first place.

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

      No it shouldnt be fixed as the easter eggs aren't gonna be part of the main game so therefor theres no need to work on that.

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

      @@beepboop4701 why wouldn't he put them there.

  • @itsbunnz5295
    @itsbunnz5295 4 ปีที่แล้ว +1188

    Very tempted to show the code to my dad who has been working as a computer engineer for 20 years
    Edit: I showed it to him. He scrolled a little and then all he said was “Jesus feckin Christ”

    • @rae3408
      @rae3408 4 ปีที่แล้ว +152

      do it if you want to see him cry

    • @edelweiss6634
      @edelweiss6634 4 ปีที่แล้ว +44

      Do it and fucken post response

    • @theaoshay8894
      @theaoshay8894 4 ปีที่แล้ว +31

      ME TOO IM GONNA DO IT LMFAOOAOA

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

      Do it

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

      Please make that a video

  • @margoxathegamer9371
    @margoxathegamer9371 4 ปีที่แล้ว +1219

    Characters in yandere simulator just have existentional crysis every tick.
    Edit: Wow, I didn't know my comment still gets likes

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

      CRYSIS
      The game that computers at the time COULD NOT HANDLE AT MAX SETTINGS
      That is a legend
      The complete opposite of any YanDev work
      XD

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

      @@Ramsey276one i think you missed the point of the comment....

    • @Ramsey276one
      @Ramsey276one 3 ปีที่แล้ว

      @@johnynoway9127 ... it was a typo??

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

      @@Ramsey276one no.
      "What if" statements are made every single mili second of each npc.
      imagine you thinking: What if...
      every single mili second of your life.

    • @Ramsey276one
      @Ramsey276one 3 ปีที่แล้ว

      @@johnynoway9127 a...
      What if
      CRISIS?!
      XD

  • @jesseparrish1993
    @jesseparrish1993 ปีที่แล้ว +363

    Incredible. Hats off to the guy: he made it work and (partially) created a wildly successful indie game while coding like an angry gibbon.

  • @spectralknight7142
    @spectralknight7142 4 ปีที่แล้ว +850

    I'm learning code right now. Specifically javascript. Yandere dev has been an amazing teacher for me. He has demonstrated what not to do perfectly

  • @selitus3899
    @selitus3899 4 ปีที่แล้ว +1008

    "Yandere Simulator is supported by the following sponsors!"
    *...*
    *"what a bunch of idiots."*

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

      That killed me I literally knew they were going to say that 😂😂😂

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

      *supported

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

      Was supported*

    • @NewName007-n3u
      @NewName007-n3u 4 ปีที่แล้ว +6

      Luni is a sponsor...

    • @NewName007-n3u
      @NewName007-n3u 4 ปีที่แล้ว +1

      @@starzieendy Yeah

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

    hey, look on the bright side! his game is basically immune to exploits because reading his code is like solving a rubix cube.
    the perfect line of defense!

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

      pose mod exists...

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

      @@scornfvl2305 I think he is fine with it,since in 2016 he added it in the game as a Easter egg

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

      solving a rubiks cube is very easy if you have internet access

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

      fellow speedcubers rise up

    • @Artceps
      @Artceps ปีที่แล้ว +32

      @@orangeleaf36 yep i am not about to be compared to godawful code

  • @BariScienceLab
    @BariScienceLab 4 หลายเดือนก่อน +32

    Ctrl+F “else if”: 9999+ results found

  • @kippenegg
    @kippenegg 4 ปีที่แล้ว +871

    Can we just appreciate the fact that he put goddamn EASTER EGGS over finishing the game? As well as making a clicker game.

    • @kittyxpickle
      @kittyxpickle 4 ปีที่แล้ว +95

      And he expects people to give money to his future crowd funding campaign... 🤡🤡🤡

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

      @@kittyxpickle yeah, and people give bum money for it

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

      He can't finish it if he doesn't have the necessary assets

    • @obamacat3
      @obamacat3 3 ปีที่แล้ว

      @@kittyxpickle kfuck you

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

      @@obamacat3 Yandev be the the actual face of a beta

  • @michaelk9279
    @michaelk9279 4 ปีที่แล้ว +1110

    Hot take: We always assume he’s not spending any time coding, but I think he actually HAS been coding. It’s just that the way he codes is so clunky that the most basic shit takes him several months.

    • @3hoodies
      @3hoodies 4 ปีที่แล้ว +30

      Interesting...

    • @Khosumi
      @Khosumi 4 ปีที่แล้ว +176

      Coding incorrectly is worse than not coding at all, because then you'll need to go back and fix it, might as well not be coding.

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

      lol that's straight facts

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

      Yeah that's what i always thought

    • @-caesarian-6078
      @-caesarian-6078 4 ปีที่แล้ว +26

      Merkk / Not exactly, Bad code is better than no code if it either works well enough, or doesn’t work at all and you learn how to fix it. In this case, however, the code barely works and the dev never learned how to fix it.

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

    Yandere Dev is basically the person who, in order to get to the grocery store,
    Would go away from it and drive around the world just to end up back at it again.
    And then does this for every single thing ever.

    • @mx.inhabited
      @mx.inhabited 3 ปีที่แล้ว +52

      I bet he Does that to Just to annoy anyone else in his car.

    • @handlesarecringe957
      @handlesarecringe957 ปีที่แล้ว +39

      Hard coded pathing IRL

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

      Don't forget to beat ME DIOO in the process

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

    People who don’t know coding: what is this
    People who do know coding: what is this

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

    Normal person:
    Step 1: get up
    Step 2: get dressed
    Step 3: get breakfast
    Step 4: go to school
    Person running off YanDev code:
    Step 1: checks if they're breathing
    Step 2: checks if they're breathing again
    Step 3: get out of bed
    Step 4: Am I still breathing? Ok good
    Step 5: walk over to dresser
    Step 6: *Dresser still in development also this is the end of the demo feel free to explore the room*
    Step 7: .......I'm still breathing right?

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

      Normal people : breathing
      YanDev : Inhale using nose, and then exhale

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

      But are you breathing tho ?

    • @user-tb2fo2rg9c
      @user-tb2fo2rg9c 3 ปีที่แล้ว +48

      this made me start breathing manually ouch

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

      @@user-tb2fo2rg9c how do you breath manually?

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

      @@NepetasShippingWall1642 you notice that you're breathing and do it while thinking about it instead of not thinking about it

  • @BeanieBabyXx
    @BeanieBabyXx 4 ปีที่แล้ว +1576

    I bet Yandere Dev's life has been programmed with "else if" and "if" statements.

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

      Proof yanderedev is a scammer...
      th-cam.com/video/Sa5A7AMjReE/w-d-xo.html

    • @rime347
      @rime347 4 ปีที่แล้ว +31

      that's probably why the development is so slow. coding yandere sim is prob the last thing his life checks for-

    • @matyhovidea8537
      @matyhovidea8537 4 ปีที่แล้ว +55

      if(people.disagree)
      {
      ban();
      }
      else if(people.makefunofyou)
      {
      ban();
      }
      else
      {
      dont();
      }

    • @name-eo1lv
      @name-eo1lv 4 ปีที่แล้ว +4

      like using if and else if statements are okay but damn dude

    • @name-eo1lv
      @name-eo1lv 4 ปีที่แล้ว +18

      @@matyhovidea8537
      while(people.disagree=true) {
      System.out.println("you have been banned");
      }
      //yeah i know this code makes no sense but i hope it gets the message across

  • @hybridhd7436
    @hybridhd7436 4 ปีที่แล้ว +431

    I find it funny because Yanderedev could learn how to fix his shit in like 10 minutes. Heck, you can learn a shit ton about coding in like 15 minutes anyway, at least more than Alex knows.

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

      HybridHD he doesn’t wish too thats the thing lmao

    • @SU1_cidalDadbro
      @SU1_cidalDadbro 4 ปีที่แล้ว +7

      Yeah, he can learn how to fix his sh*t in 10 minutes. But it took him 6 years, and still nothing changed.

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

      When he partnered with tinybuild they had a programmer that would be there to help things out. That programmer converted the game to Unity 4 and such. The programmer was later fired by Alex because he wanted to organize the code, which could be quickly fixed with skills like theirs. So yeah, the code would have been fixed by now and Osana would’ve also been out by now if that programmer had stayed.
      (Alex literally said his reasoning as to why he fired the programmer on his website. He’s jeopardizing his own game.)

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

      The shit that the foundation of the code is, cannot be fixed in 10 minutes, 1 hour, or even in a week. It would take months to refactor the code.

  • @Homiloko2
    @Homiloko2 ปีที่แล้ว +572

    Honestly I'm quite impressed at how well the game works considering Yandev obviously doesn't know programming and seems to be just copy-pasting snippets or something. The wonders of Unity Engine.

    • @wilburdemitel8468
      @wilburdemitel8468 ปีที่แล้ว +33

      copying code is what good programmers do, not yanderedev

    • @Homiloko2
      @Homiloko2 ปีที่แล้ว +95

      @@wilburdemitel8468 Yeah, I'm a dev myself, but you're not supposed to copy-paste a code snippet without even know why and how it works. Sometimes just a glance at a snippet will solve your problem because what you need is the underlying concept or solution, not the code itself.
      That's why I say, it's obvious that Yandev doesn't know what he's doing, so it's quite amazing that it actually works.

    • @Ghorda9
      @Ghorda9 ปีที่แล้ว +30

      @@wilburdemitel8468 good programmers would also fix the code their copying and make it more legible.

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

      Seems to know programming better than this dude that's reviewing the code tbh.

    • @Moocow2003
      @Moocow2003 10 หลายเดือนก่อน +3

      ​@@elobiretvI don't know, man, that's a lot of if else statements

  • @NightOwlDev
    @NightOwlDev 4 ปีที่แล้ว +263

    As a programmer, this brings me, physical pain

    • @theawkwardskeleton6608
      @theawkwardskeleton6608 4 ปีที่แล้ว +8

      AvionGotEverything I mean who the fuck programs EVERY SINGLE DIGIT IN A MODELS HAND?

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

      Proof yanderedev is a scammer..
      th-cam.com/video/Sa5A7AMjReE/w-d-xo.html

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

      The Awkward Skeleton i dont even code, but even i know, this will take do long to run and will make your computer exPLODE

  • @scottblair8261
    @scottblair8261 4 ปีที่แล้ว +3571

    This is actually really impressive for two reasons:
    1) This is clearly someone who doesn't actually know how to code beyond a semester or two of Intro CS.
    2) This is such awful code
    And yet despite both of these facts, the game still runs.

    • @user-sl6gn1ss8p
      @user-sl6gn1ss8p 4 ปีที่แล้ว +372

      yeah, I bet a lot of the people making fun of it never actually got anything close to the same scale working, it clearly shows a lot of (weird to me) dedication

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

      @Michael Gia Huy Nguyen yeah but he got various offers for free from people to rewrite the code and he refused bc of his ego

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

      @@user-sl6gn1ss8p Guilty to a degree. It is admirable for a lot of reasons. Just not the positive ones.

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

      Well yeah,it works,but does it work well? No,is it efficient? No
      Many can create things that just "work",and this is where the differences between a good product and a shitty one become more obvious

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

      No, it doesn't run. It crawls slowly on the floor with twisted, twitchy imitations of limbs; constantly croaking in pure, raw agony; longing for the end of its sickening suffering.

  • @shreya...007
    @shreya...007 ปีที่แล้ว +175

    This is actually so useful to teach students what NOT to do, cause now I finally realise why documentation of code is important.

  • @k8_cringe
    @k8_cringe 4 ปีที่แล้ว +5260

    Man I wish I was a computer scientist because then this video would be even funnier
    Edit:
    Omg thanks for all the likes lmao

    • @Horologica
      @Horologica 4 ปีที่แล้ว +477

      The worst part is you don't even have to be one. I read a beginners book on coding, yandere dev's skills don't go past the first three chapters. I made sense of his source code.. as a total beginner

    • @jonnystewart9007
      @jonnystewart9007 4 ปีที่แล้ว +64

      Just know that every few lines it has to be spaced out and if it’s a continuous line then there have to be a couple of space bars if I learned right

    • @viola8856
      @viola8856 4 ปีที่แล้ว +66

      Lara that’s actually sad. Wow.

    • @ericbao7740
      @ericbao7740 4 ปีที่แล้ว +4

      I do Python but the concept for coding is mostly the same.

    • @vicenary8070
      @vicenary8070 4 ปีที่แล้ว +14

      I want to see a computer scientist show yanderedev's work as something not to do to a class or something

  • @Soren_Ld
    @Soren_Ld 4 ปีที่แล้ว +941

    is it just me or is the code of this game a little bad?

    • @TheAldroid
      @TheAldroid  4 ปีที่แล้ว +221

      🤔🤔

    • @Oracle_nav
      @Oracle_nav 4 ปีที่แล้ว +100

      Nah... couldn’t be...
      Unless😳😳😳

    • @Soren_Ld
      @Soren_Ld 4 ปีที่แล้ว +28

      @@Oracle_nav unless what? 😟

    • @incognitomode6223
      @incognitomode6223 4 ปีที่แล้ว +30

      @@Soren_Ld unless....

    • @someguyTM
      @someguyTM 4 ปีที่แล้ว +43

      Is it just me or this bad coding loking kinda t h i c c?

  • @Y2KFroggyAngel
    @Y2KFroggyAngel 4 ปีที่แล้ว +358

    Be careful, yandere dev is falsely copy striking youtubers

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

      Lol

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

      Lol

    • @velocilevon
      @velocilevon 4 ปีที่แล้ว +35

      Yeah, that assclown started doing that. Funny thing is, he thinks that that's gonna hide all the shit about him, when infact it's actually going to bring even more attention to him, because, well, many youtubers won't like his attempt at trying to shutdown entire channels. If the lazy fuck just finally started working on his game then this could've been avoided. Before, he might've done something, but now he has dug up his own grave, and the only remaining question is how long is he going to dig it for.

  • @iquoteeverythingisay4627
    @iquoteeverythingisay4627 ปีที่แล้ว +70

    here is a fun idea, have chat gpt to rewrite yandere simulator

    • @Cobrax_x
      @Cobrax_x 4 หลายเดือนก่อน +13

      Chat gpt may not be the best at coding, but at least it's significantly better than yandev's

  • @Alicendre
    @Alicendre 4 ปีที่แล้ว +689

    Professional Unity dev here, wanted to see how many parts of this code are completely unnecessary:
    1:35 they're not doing the same thing exactly, as the array indexes are different. But I'm 90% sure this could be done in a much simpler way through a config file.
    2:00 Type.ToString().ToLower() does this exactly
    3:03 you can most likely replace this entire code by something like "string displayTime = time.ToString("hh:mm tt");"
    3:41 config file again
    4:47 scientists hate him: man reinvents division. lol yeah you can just write Mathf.RoundToInt(Affection / 25) as Affection is a float.
    6:14 this makes me cry. I think he's remapped manually each bone for the male character. Obviously, this can be done with the animator

    • @velocilevon
      @velocilevon 4 ปีที่แล้ว +84

      You know something's really bad when a professional says "this makes me cry".
      Thank you for your explanation, people like me who aren't exactly sure what's the issue now understand it :)

    • @Alicendre
      @Alicendre 4 ปีที่แล้ว +64

      @@velocilevon honestly none of this really affects performance, but it almost definitely affects how much time it takes him to code anything.
      I think yandev really does work a lot more than people think, but because he does anything in such a tedious manner instead of researching how to do it well and structures his code extremely poorly so that it is difficult to modify, it probably takes him weeks to do what someone else would do in an hour.

    • @therunawaygirl5096
      @therunawaygirl5096 4 ปีที่แล้ว +10

      @@Alicendre Does it *really* not affect performance when it's run every other frame?
      Of course, I wouldn't know any better because I don't code (so honestly I can't judge), but like... The program needs to check all the variables before arriving at the proper one every. Single. frame. of the game.
      So, again, does it *really* not affect performance?

    • @Alicendre
      @Alicendre 4 ปีที่แล้ว +32

      @@therunawaygirl5096 Yes, a youtuber and developer called dyc3 made a deep analysis of yandere's codebase and performance and basically, the performance issues largely stem from his unoptimized meshes.

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

      @@Alicendre yeah just cause hes lu ky that the unity compiler optimizes his code for him. Fuck me though, how do you develop with this kinda architecture m8?

  • @malcolmholmes5002
    @malcolmholmes5002 4 ปีที่แล้ว +172

    I love how the knife code is basically just
    “if knife knife then knife”

    • @cletusmcyeetus5975
      @cletusmcyeetus5975 4 ปีที่แล้ว +7

      If this weapon matches a knife, it is a knife.
      Lmao kek

  • @KnifeKnerdJesus
    @KnifeKnerdJesus 4 ปีที่แล้ว +3819

    i’m sorry, but the fact that female lover isn’t available is hilarious

    • @kidbuu9672
      @kidbuu9672 4 ปีที่แล้ว +20

      Proof yanderedev is a scammer..
      th-cam.com/video/Sa5A7AMjReE/w-d-xo.html

    • @thekoolaidtrain7668
      @thekoolaidtrain7668 4 ปีที่แล้ว +583

      Thing is, since yandere dev has so much time he puts so many useless additions to game but for some reason doesn’t have the time to put in a lesbian lover? It really shouldn’t be that hard to put in anyway

    • @ri0tgh0ooul89
      @ri0tgh0ooul89 4 ปีที่แล้ว +615

      @@thekoolaidtrain7668 I mean - he DID say that he won't make the playable character a male cause he'd find it. 'uncomfortable.' This not only leads to the theory that he made the game to be the self-insert senpai character who gets all the ladies, but he is also straighforwardly homophobic. He might only add a female senpai eventually cause he thinks lesbians are hot.

    • @sshirorin
      @sshirorin 4 ปีที่แล้ว +348

      @@ri0tgh0ooul89 I wouldn't be surprised if he is actually homophobic

    • @thekoolaidtrain7668
      @thekoolaidtrain7668 4 ปีที่แล้ว +65

      Gigantic Gay Virgin that’s what I was thinking, it’s very much like him

  • @BobChess
    @BobChess 11 หลายเดือนก่อน +114

    If you disrespect this dev, he would be mad;
    else if you respect him, he would be happy;
    else if you troll his discord server, you will be banned;
    else return 0;

    • @refindoazhar1507
      @refindoazhar1507 4 หลายเดือนก่อน +2

      So i can troll his discord server all i want without getting banned as long as i respect him right?

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

      @@refindoazhar1507 he's happy and will ban you

    • @remainsofmewu2548
      @remainsofmewu2548 18 วันที่ผ่านมา

      @@refindoazhar1507 He will happily abn you

  • @raccoonspit1484
    @raccoonspit1484 4 ปีที่แล้ว +6128

    So I’m 16, and I just started a coding class, because I’m going to be doing game design for my job.
    (There’s only like 5 kids in the class we all are like Nintendo nerds and stuff XD)
    Our teacher is a legend, and he said “I am going to show you a example of code you shouldn’t do, this is from the game yandere simulator. The guy who made this was probably dyslexic”
    Lmaooooo keep the memes goin I like reading them xD

    • @steventheguywashere
      @steventheguywashere 4 ปีที่แล้ว +776

      Even though idk anything about code and stuff, your teacher is a legend

    • @gatomeong
      @gatomeong 4 ปีที่แล้ว +381

      your teacher is a legend (2)

    • @hisnotsolonely2961
      @hisnotsolonely2961 4 ปีที่แล้ว +257

      BEAUTIFUL... *SNIFF*

    • @raccoonspit1484
      @raccoonspit1484 4 ปีที่แล้ว +68

      TheCarelessArtist XD facts

    • @raccoonspit1484
      @raccoonspit1484 4 ปีที่แล้ว +47

      Danilo Borja IKR

  • @rhain9388
    @rhain9388 4 ปีที่แล้ว +3154

    Me pretending to know what this code even means: haha so funny guys am I right haha...

    • @iamlearningjapanese5276
      @iamlearningjapanese5276 4 ปีที่แล้ว +167

      I’m the same plus their laugh is infectious

    • @uzxege5173
      @uzxege5173 4 ปีที่แล้ว +144

      even if you don’t know code you can tell how bad it is by the “else ifs”

    • @jhonvvick1289
      @jhonvvick1289 4 ปีที่แล้ว +60

      @@uzxege5173 else ifs aren't bad, in fact, they are better than you. When u dont know how to use them, then its bad

    • @roccogonzalez6694
      @roccogonzalez6694 4 ปีที่แล้ว +11

      Same, add that I don't speak that much English... For some reason I still love it

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

      Mayte Gonzalez and that’s the fun part. Their laughs are also funny 😁

  • @mamasnok6915
    @mamasnok6915 4 ปีที่แล้ว +771

    This is the best and the worst code I have seen
    Best because its funny, for 6 years, it's like that
    Worst ...yeah, why else if?

    • @mexicanjojo6369
      @mexicanjojo6369 4 ปีที่แล้ว +11

      P
      U
      N
      S

    • @manlyman7629
      @manlyman7629 4 ปีที่แล้ว +8

      Proof Yanderedev is innocent: th-cam.com/video/QNulS324Fww/w-d-xo.html

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

      @@manlyman7629 what

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

      @@elpanaderodelaesquina6207 did you click it

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

      @@lewjyhj Im scared it has a virus or something. What did they send?

  • @mopishlynx2323
    @mopishlynx2323 3 หลายเดือนก่อน +19

    I think this heavily implies that this man was learning how to code in 2014, wrote bad code, and instead of fixing it, for the past 10 years, has been band-aiding problems to the point that the code is actually incomprehensible to a human.

  • @kitkatfiend
    @kitkatfiend 4 ปีที่แล้ว +274

    the cat isnt even his creation. years ago i found a cat sim game with that exact cat

    • @IncorrectHB
      @IncorrectHB 4 ปีที่แล้ว +39

      I'm pretty sure that cat model is in just about all cat simulator games

    • @Comboowo
      @Comboowo 4 ปีที่แล้ว +59

      Yeah, a lot of stuff isn't his. Literally the STUDENT MODELS aren't his, yet he's making money off of them. At one point he stole the grass texture for the game without the artist's permission.

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

      @@Comboowo The student models are from the store, the models for the chairs and stuff were made for him specifically (and cant be used by anyone else), no clue about the grass. Either way his coding is horrific

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

      Unity store specifically*

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

      that cat model is everywhere

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

    Bruh this was what my Scratch game code looked like

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

      Mine too

    • @mintyo-P
      @mintyo-P 3 ปีที่แล้ว +107

      Sad part is your scratch game is probably better than this whole game's development progress

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

      Same. Mines was unnecessarily messy but is spotless compared to Yandere Simulator's code.

    • @wooshbait6023
      @wooshbait6023 ปีที่แล้ว +15

      Don't insult your scratch game coding. I for sure know that my scratch coding in 6th grade is way better than this

    • @mou__ikkai
      @mou__ikkai ปีที่แล้ว +9

      NAURR IM MAKING A SCRATCH YANSIM REMAKE

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

    Yanderedev is a shining example of every one of the 7 sins all at once

    • @zenovak5177
      @zenovak5177 ปีที่แล้ว +26

      7 Deadly sins of not following SOLIDS design principles or any principle for that matter

    • @OliverrOil
      @OliverrOil ปีที่แล้ว +51

      Greed? Yep, obvious, just look at the merch and a bunch of other stuff he's done to drain peoples wallets.
      Lust? ...Samus clip. All im gonna say.
      Wrath? Theres literal compilations of him just raging at people on twitch so, yep, check.
      Envy? Not really sure, maybe like envying the code tinybuild made for him because it was better than his so he turned them down?
      Sloth? Bro would rather stream a random game for like 12 hours than work on the code.
      Pride? Not sure again, maybe the fact he acts like his game is brilliant and ignores and harasses anyone who says different?
      Gluttony? I'm actually not really sure but he probably has done something relating to this.
      And yeah he quite literally is them all at once.

    • @nevaehhamilton3493
      @nevaehhamilton3493 ปีที่แล้ว +31

      ​@@OliverrOil Lust also applies to child grooming and giving a 16 year old Stockholm syndrome

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

      Gluttony?

    • @chibimango5028
      @chibimango5028 ปีที่แล้ว +23

      @@OliverrOil Envy could also be the fact that Yandere Sim clones have been coded in the past and there's been at least one incident where he threw a tantrum over one because it was making better progress for a bit and people were starting a hype train for the clone instead of his own game. P much all Yansim clones end up having their dev team implode due to internal drama but that's besides the point.

  • @sapphire--9375
    @sapphire--9375 2 ปีที่แล้ว +302

    11:07 i love how his fps shoots up from 57 to 120 the second they time stop lmaooo

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

      @@sapphire--9375 right :D

  • @billybillerey3933
    @billybillerey3933 4 ปีที่แล้ว +293

    It'll probably take longer to "easify" the code than making a game from scratch.

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

      @Kanashimi And that also from the foundation itself. Like when you making a redraw out of real life instead of your imagination... Of course it's faster.

    • @GregorianMG
      @GregorianMG 4 ปีที่แล้ว +4

      @Kanashimi It's possible, with a larger, coordinated team and big budget. The game like Yandere Simulator is a really large project for one man. If you making a game with similar genre, it's a different story than making a spin-off of it.

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

      @@GregorianMG Finally, common sense.

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

      @Kanashimi You got a point, but YandereDev procrastinates working on the game. So if he didn't just waste all his time banning people for doing nothing and streaming and used that time on the game instead, the game would have been out already.

  • @edge8257
    @edge8257 4 ปีที่แล้ว +1748

    You didnt notice that when time stops, the code stops checking every students path and the frames per second increase the hell out.
    Time is active: 70-50 fps
    Time stops: 140 fps

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

      holy shit ur right

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

      I rather think all the students stop asking what time it is

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

      @@hansdampf2284 Lmao

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

      💀

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

      when time stops, THE CLOCK IS STILL WORKING

  • @abeplus7352
    @abeplus7352 4 ปีที่แล้ว +2714

    Software engineer here , this code is bad agreed , but people are missing the point. The compiler makes optimizations for lots of branch statements . It accounts for that . The performance issues aren't because of this . As much as I appreciate the post ,this video just shows what everyone is showing .
    The real performance issues is because his code is structured in a fashion where base entities like students ... Etc have buisness logic in them that polls for events . Forexample his time system that say if 3 pm do this if 4 do that . Instead of polling this can be done event driven . Where the clock / time manager is an entity that sends an event . And the base entities can subscribe to that event via a callback . this can be done asynchronous and it keeps the player objects lean instead of doing repeated logic and having objects that possible take too much memory to spawn because of all this logic.
    In terms of the entities , these can be modeled better by inheritance . Instead of everyone being a student , they can all be people . Which inherit some shared methods . Etc ... the inheritance here would save on having a God class of if player type is student then do this otherwise do that . With inheritance you save on that bs logic and cleans up your code more . Just don't overuse it .
    He uses too many global variables that can be accessed by other classes instead of abstracting state by events or a store .globals are a nightmare waiting to happen because if they are change within the system it can introduce bugs .
    A tip for anyone going into any form of development .
    If you feel like Everytime you look at your function it's fatiguing . It's probably too long . Your functions should. Be concise and straight to the point . If i as a code reviewer have to read your 400 line function ,then most probably I'm rejecting that pull request or commenting that it's not concise .
    Take the time to consider the relations between your entities don't just hodge podge everything . Writing the code is the easy part . Archetecting it is hard and takes time . Make sure you do the latter well .
    Don't ever .. use globals ... Unless it's needed . You should only use globals for injecting dependencies . Or wiring entities . Not for anything that contains state . As tracking that state change is hard .
    Use data structures where they make sense . It's very easy for novice devs to make everything an array , but you need to understand what kind of operations you want to do with that structure . If it's just linear access then it's arrays for sure. If it's a key value pair probs a hashmap. If it's a chain of relations , then linked lists ...etc
    Your classes (if you're doing object oriented programming ) should not be instantiating other classes directly from the constructor . It makes it impossible to mock and test . The only time you should be instantiating instances inside your class is if you're using code that isn't yours and doesn't require access outside the bounds of the program context , ie file network ... Etc . So like hashing libraries or sorting or whatever . That's fine to construct in the constructor or your methods.
    Operations that take a long time should be made concurrent so the user doesn't have to wait . Forexample , making a big aggregate calculation. That you know is unoptimized garbage but you can't optimize it any further . Make it non blocking to the rest of your system , by spawning a thread or using an event loop. Most engines take care of that but sometimes you might find yourself needing that , maybe for a network request or maybe for accessing a file on the fly .

    • @KreatorKat
      @KreatorKat 4 ปีที่แล้ว +102

      Underrated comment bruv

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

      As a beginner dev I'm happy I have already seen half of the stuff you said. Not only know it but also had the chance to put it into practice.
      Very well explained, thanks.

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

      @@KreatorKat thanks man

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

      @@siodidio the most important thing you should be good at or get better at is unit testing . Alot of cs students graduate hating unit testing because they don't understand it .

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

      I had a stroke reading that but that’s understandable because I don’t understand anything about code

  • @TheCodeHunter
    @TheCodeHunter ปีที่แล้ว +48

    17 year old programmer here. I know 6 programming languages (including the same language YanDev uses which is C#). Seeing his time code made me die of laughter. Literally there is so much room for improvement and if he used his brain for once, he could've made changes. I guess he's too stubborn and lazy to even care.

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

    You know what they say: you don't need to be a chef to know if the food is burnt. A non-programmer can look at the code and could sense that SOMETHING is off.

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

      He clearly lacks an understanding of basic programming (and even fucking math) principles. How he managed to make a game that somewhat works I have no idea it's like a monkey bashing a keyboard and writing war and peace, like seriously, I respect his stubbornness to keep using his limited knowledge and not improving at all

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

      Yeah

    • @Ne-vc5pm
      @Ne-vc5pm 10 หลายเดือนก่อน

      You are the same type of person to scream at cpp metaprogramming

    • @kolyashinkarev7366
      @kolyashinkarev7366 9 หลายเดือนก่อน

      Not really, that's kinda too specialised for an average person to tell

    • @julianodavidhilario1538
      @julianodavidhilario1538 9 หลายเดือนก่อน

      Even those two were admitting that they did not even understand the context and the mechanics of the language used. So, how then could someone without a knowledge of coding figure out that there's something wrong with the code? It's a bit nonsensical to say that. Kind of unwise. It feels like you're just saying that without any proper reason.

  • @KazukiP
    @KazukiP 4 ปีที่แล้ว +265

    No wonder the game is taking this long if he’s coding PARAGRAPHS that could be run off 1 line scripts…

  • @mentallyunstable1926
    @mentallyunstable1926 4 ปีที่แล้ว +1879

    Yandere dev: the people who review my code don’t know anything about coding!
    Professionals: what the hell is this
    Edit: Jesus Christ that’s a lot of likes
    edit: i keep coming back to at least 200 likes per day why are you liking my dumb joke he literally said this on reddit
    Edit something: don’t respond to “Supreme guy”. It’s just a kid who wants attention on the internet. Feel free to read, but don’t respond. It’s not like your time is worth it

  • @akuma4321
    @akuma4321 ปีที่แล้ว +32

    about the thumb thing: yes, he seriously did add a third joint to the thumb. he added an extra goddamn joint to the fucking thumbs. i know this because i've spent way too long messing around in pose mode to the point where i know every joint on those little freaks' godforsaken bodies. he does not know how thumbs work. it's absolutely fucking hilarious

  • @hi-ht1fb
    @hi-ht1fb 4 ปีที่แล้ว +202

    I read the title as "rocket scientists review code for yandere simulator" I am blind now.

  • @RelatedSamux
    @RelatedSamux 4 ปีที่แล้ว +557

    "Yandere Simulator Is sponsored by the following sponsors!"
    "All a bunch of idiots"
    *Legend*

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

      Luni, the creator of Gacha Life, is also on the list of sponsors.

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

      @@Apple_Bapple wait wha

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

      @@ileanabriannemari Yep! check it out. Blue hat and glasses.

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

      @@Apple_Bapple oh goddd-

    • @marblebongos2794
      @marblebongos2794 4 ปีที่แล้ว +18

      @@Apple_Bapple *The pieces are coming together*

  • @cluu8602
    @cluu8602 4 ปีที่แล้ว +286

    How the hell are we going to find the stand user.
    the stand user:

  • @Democrab
    @Democrab ปีที่แล้ว +57

    I like how stopping time boosts the fps by a huge amount that should tell you how poorly optimised the student pathfinding is

  • @fatd0gg072
    @fatd0gg072 4 ปีที่แล้ว +162

    I like the fact that professional coders are laughing at this because how bad it is when most of us don't know what the hell is going on

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

      I mean, I know nothing about coding, but I do know you have two digits in your thumb and three in the rest of your fingers! :D So, a little bit of everything for everyone to enjoy.

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

    It's honestly impressive how Yandere dev keeps track of that messy code.

    • @joe31226
      @joe31226 ปีที่แล้ว +13

      ikr

    • @kolyashinkarev7366
      @kolyashinkarev7366 ปีที่แล้ว +164

      That's the neat part, he doesn't

    • @kindertak5396
      @kindertak5396 11 หลายเดือนก่อน +45

      Happens to people in different stuff, sometimes people have an ''order'' in what other people see chaos, and they wont change it because the better way or the organized way is as weird for them as if a 1600s dude saw the internet

    • @Nightwalk444
      @Nightwalk444 10 หลายเดือนก่อน +9

      @@kindertak5396 This. This absolute mess makes sense to him perfectly.

    • @PATATAGAME1
      @PATATAGAME1 9 หลายเดือนก่อน +2

      @@kindertak5396 Wow, a genius walking among these worms. I'm amazed.

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

    I just realized, he separated the fingers not only by joints, but by gender as well. That's assigning the boys' fingers to be the same as the girls'.
    I'm so upset

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

      Its like he divided them up as if the boy hands were holding the gorls.

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

      No, no that’s not right! I’ve looked at the code myself and the students/people in the game are actually Male and !Male, not “boy” and “girl”

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

      @@nameredacted9119 Ahhh, is that so? Hm...Not sure if it would save any resources that way compared to having two different labels, but interesting way to go about it

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

      @@Clionii I was so baffled by so much in the code. In many places in the Student script, he has his famous if else statements for handling some rendering for male and female students, but they are formatted as if(!Male){}else … why not switch these? It technically isn’t wrong to handle the not-male (aka girls) then have an else for all other students (aka only the boys, or Male = true), but why not have the statements as if(Male)…else ?? There is literally no reason. So many little things like that add up in the code, to the point where calling it “spaghetti” is generous. In one file, an entire function was just an if else, and I shit you not, this was the format:
      if(A){
      if(B){[code]} }
      }else(B){[code]}
      I guffawed when I saw this. I was sure I was reading something wrong due to formatting, but no… for one, a way more legible format would be :
      If(B){
      If(A){…}
      else{…}
      }
      And sure, it wont affect the functionality, but it sure makes it easier to read and less convoluted. Also, if this function only does something if B is true, why not handle checking B before you call this function??? There is no reason to call this class if B is false…
      Sorry to go on this rant lol. I just am so filled with disappointment and rage at this absolute mess of a “game”

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

      @@nameredacted9119 I may not be good at coding, but this makes me sad

  • @CrimzegaSulvic
    @CrimzegaSulvic ปีที่แล้ว +39

    For those that don't know for the code shown starting at 3:38, it moves one button and setting the selected index for item selection, rather than selecting a different preset button.
    Hopefully Aldroid sees this and understands the pain that I realize.

  • @freebooterluckless
    @freebooterluckless 4 ปีที่แล้ว +149

    I’m in highschool and have just completed introductory coding classes and I could literally recreate this with some of my buds 😭

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

    Fun fact: Yandere dev's code radiates an aura that makes anyone feel a strong sense of disgust, this is why Even people that dont know how to code feel that this code is so bad

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

      Now i know why i cant code in roblox

    • @stormyplayswastaken
      @stormyplayswastaken 9 หลายเดือนก่อน

      @@kaloz429mobile9 honestly.. just.. code.. thats how i started and learned the basics.. i just.. coded.. googled the thing i didnt know and kept it stored in my brain (takes a bit for me)

  • @ShaeMarieGamingAJ
    @ShaeMarieGamingAJ 4 ปีที่แล้ว +368

    This is the prime example of "Hey if it works, it works."

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

      They used the same attitude with the Therac-25, and look what happened there.

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

      Todd Howard?

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

      It just works, it just works
      Little lies, stunning shows
      People donate money flows, it just works
      It just works, it just works

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

      all of this just works

  • @prorandocopier7945
    @prorandocopier7945 ปีที่แล้ว +43

    me realizing as a non-coder that Yandere COULD have used animations for most of this and countdowns.

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

    Yandev: complains about the emails slowing his development
    Also yandev: puts in unnecessary bs Easter eggs to better properties

    • @randunker
      @randunker ปีที่แล้ว +16

      He's just having fun with it I don't mind the easter eggs

    • @ThornHailsnap
      @ThornHailsnap ปีที่แล้ว +78

      @@randunker I don't mind them either. Most of them are pretty fun. The problem is that developing easter eggs has the same effect as reading all his emails: it slows game development. He's already determined to utilize code that takes ages to write. Why do that for things that don't matter when he can put time towards the actual game? If he was willing to learn how to read and write more efficient code, then putting out inconsequential bits now and then would be fine.
      It would also be fine to put out inconsequential bits now and then if he didn't complain about emails slowing game development. Considering that most of the emails just ask or say the same things ("When is going to be finished?" and "I have an idea...", for the most part) and considering that every video he's made on the topic also provides roughly if not exactly the same answers ("I don't know" and "Leave me alone" being the most prominent), there's no reason for him to even read all those emails in the first place. He complains about reading them as though it's something he absolutely _MUST_ do, and that the only way out is for fans to stop emailing him or only do so if they have something really important to say.
      But it's because he keeps responding to them that he keeps getting emails (how long have you talked with someone who always replies to you vs someone who never replies to you?), and it's his choice alone to read them, just as it's his choice alone to divert his attention away from game development in order to code easter eggs, or animate complaint videos, or come up with unrelated ideas that have no impact on the actual game (like making an explorable albeit empty town inspired by the Persona series).
      Honestly, I think the real point of the game is just to have an environment (the school) in which to fool around with easter eggs. Nothing else matters, not the story, not the characters, not anything, because otherwise there'd be much less time spent on bonus content and much more time focused on developing the actual game.

    • @Vocalovely
      @Vocalovely 7 หลายเดือนก่อน +5

      Not to mention the creation of 1980s mode...there's only one rival in the main game, and Osana has been out for years, and yet he managed to fully code 10 rivals for a fucking *bonus mode.* At this point I'm convinced he's just stringing things along for the patreon money. Thank god that's been dwindling.

  • @dragonboi6744
    @dragonboi6744 4 ปีที่แล้ว +376

    “This game has accumulated 70 bug fixes”
    Terraria who has done that within it’s first year of development: Pathetic

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

      Proof yanderedev is a scammer...
      th-cam.com/video/Sa5A7AMjReE/w-d-xo.html

  • @rayisemo
    @rayisemo 4 ปีที่แล้ว +1168

    I'm literally just a middle schooler that has no idea what is coding but I can clearly see that the code is spaghetti lmao

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

      You'll see any code as a spaghetti, if this is a case

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

      @@reknostarfox4690 wait till you make a literal spaghetti in visual scripting in ue4

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

      Gamervirgins?

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

      Not even spaghetti, a pile of horse shit

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

      This isn't what coders mean by spaghetti, this is just someone who doesn't know how to write even slightly efficient code. Please don't talk about shit you don't know.

  • @SwagHyde
    @SwagHyde ปีที่แล้ว +25

    I don't know anything about coding but I've been learning blender for a while now and what I've learned is that if what you're doing is really tedious and repetitive, there's almost always a way to do it more efficiently