C# Please Statement
As an attempt to make game devs learn better manners, C# now requires you to wrap your code in a "please" statement. Ignoring it will prevent the code from being executed. public void ToggleLights() { please { HeadLights.SetActive(!HeadLights.activeSelf); Background.GetComponent<Image>().color = HeadLigh LightSound.Play(); } }
A programming joke presents a C# code snippet wrapped in a fictional "please" statement. The punchline is that game developers must use good manners before their code will run, making fun of polite requests and coding syntax. EN: A programming joke presents a C# code snippet wrapped in a fictional "please" statement. The punchline is that game developers must use good manners before their code will run, making fun of polite requests and coding syntax.
- @gentoomemes / 8740 2024-01-15
- Type
- image
- Size
- 800×620 · 77.6 KiB
- Mood
- sarcastic, absurd
- Language
- en
- Added