- Registrado
- 23 de Ago, 2018
What's the worst programming advice you've heard, or just technical advice in general? Any particular tech trends that held things back, or are just bullshit?
I'll start with three.
First is the phrase "move fast and break things". I first heard of this recently, but it supposedly dates back to the early days of facebook. I assume there was some logic to it, but I struggle to think what.
Second, the programming advice "never use globals". "Never use globals" was something I struggled with early in game development as I took the advice literally. The actual advice should be "keep things in scope", but what might have been well meaning advice to stop beginners leaning on globals turned into dogma where using a global is a failure state ...unless they do it of course.
Third, and related to the above, the hatred of nested if statements. From what I can tell, this comes from people mocking the code for Yandere Simulator, which used them excessively.
I'll start with three.
First is the phrase "move fast and break things". I first heard of this recently, but it supposedly dates back to the early days of facebook. I assume there was some logic to it, but I struggle to think what.
Second, the programming advice "never use globals". "Never use globals" was something I struggled with early in game development as I took the advice literally. The actual advice should be "keep things in scope", but what might have been well meaning advice to stop beginners leaning on globals turned into dogma where using a global is a failure state ...unless they do it of course.
Third, and related to the above, the hatred of nested if statements. From what I can tell, this comes from people mocking the code for Yandere Simulator, which used them excessively.