r/programminghorror • • Jun 17 '20

Unity be like

Post image
511 Upvotes

22 comments sorted by

49

u/n0tKamui Jun 18 '20

that's some YanDev level of code

3

u/Randor01 Jun 23 '20

If Else If Else If Else If Else If Else If Else If

3

u/n0tKamui Jun 23 '20

You forgot else if else if else. otherwise the last three students wouldn't be handled :/

2

u/Randor01 Jun 23 '20

Screw them. Their existance will bring suffering to their world.

25

u/enderman2104 Jun 18 '20

Is this recursion?

17

u/asplodzor Jun 18 '20

Is this recursion?

12

u/Axxel_225 Jun 18 '20

Is this recursion?

24

u/constagram Jun 18 '20

No. This is recursion.

5

u/Axxel_225 Jun 18 '20

Love it!

3

u/enderman2104 Jun 18 '20

Ah , got it.

26

u/drunkdragon Jun 18 '20

gameObject.gameObject.gameObject.gameObject.gameObject.gameObject.gameObject.gameObject.gameObject.gameObject.gameObject.gameObject.gameObject.gameObject.gameObject.gameObject.gameObject.gameObject.gameObject.gameObject

-1

u/[deleted] Jun 18 '20 edited Dec 29 '23

observation cooperative agonizing repeat continue sugar ask aware crime voiceless

This post was mass deleted and anonymized with Redact

13

u/PlantedCorgo_if Jun 18 '20

Game object requiem

6

u/matti2o8 Jun 18 '20

Wha-

4

u/polovstiandances Jun 18 '20

これは。。。!

2

u/ODZtpt Jun 18 '20

Wha-

1

u/[deleted] Jul 14 '20

while (true)

{

cout << "Wha-"<<endl;

}

21

u/leftofzen Jun 18 '20

Why are people upvoting this shit. This is not real code, they just copied and pasted the same thing a thousand times. Fuck, it probably isn't even a full IDE, it's probably in a regular text editor.

16

u/boonzeet Jun 18 '20

Because it’s a joke

2

u/destersmek Jun 18 '20

Tbf you could do transform.gameObject.transform.gameObject.transform.gameObject forever and have it work

1

u/grahamw01 Jun 18 '20

This is a good way to learn beatboxing