21
Comments
  • 5
  • 6
    Ahh, Yandere Simulator source code. Had a good laugh with my buddy while seeing this.
  • 1
    Please, switch. At least
  • 3
  • 2
    @pokerface "because they only run for one frame". It's like saying "no need for reverse gear in the cars, because you use it just every so often". You should always make as efficient code as possible.

    Also, playing random sound is ridiculously simple...
  • 1
    @athlon Additionally it seems very childish from YandereDev to block that person for giving constructive critic
  • 0
    Most likely this is the work of an compiler, find attached a snippet of a piece of code in Minecraft that was incorrectly deobfuscated.
  • 1
    @Matt-Smeets it’s a Unity game and the guy uses Mono Develop
  • 2
    @Matt-Smeets There’s no error here. The guy just is lazy and has no idea what enums or switch statements are.
  • 2
    The actual problem with the dev is the denial mode. I understand those are rookie mistakes and my code were also like that when I started programming. It would also be better for him to actually listen the feedbacks and try to get it better instead of deny the facts by saying shits like those are because beta or alpha version.
  • 1
    Stop it....stahp!

    Before it lays eggs
  • 0
    I don’t see a problem here . The “always make code efficient as possible” is the most inefficient way to write software. I feel bad for this guy. It is tough to make a whole game on your own.
  • 0
    @spacem if you do write the not only efficient code, but you also THINK while you do this then:

    a.) it’s easier to debug it later when some problem occurred
    b.) you don’t have to rewrite the code again to make it efficient
    c.) you will write it faster and effectively waste less time writing the single function

    I’m speaking of my personal experience. I was also writing the exact same code back in the day. Debugging it was the pain in the fucking ass. After a while when I learned some tricks to make more efficient code, I realized that I spend more time actually coding new features, instead of wasting time on single thing.
Add Comment