Re:TerrariaClone – An incomprehensible hellscape of spaghett...
by raxod502 on Thursday October 12, 2017 @10:28PM
(#15462885)
Original author here.
The fact that all the methods were so ridiculously large made declaring loop indices globally less of a problem. But trust me, it caused plenty of bugs... :P
Re:TerrariaClone – An incomprehensible hellscape of spaghett...
by MetallicCloud on Thursday October 12, 2017 @09:25PM
(#15462686)
I'm sure it would have lead to problems, that's just one of the examples of beginner mistakes with the code. That's kind of the point of this post, for the author to poke fun at themselves for the number of newbie mistakes they made.
But now the author here says they're doing that same thing! How has this not inevitably led to problems? Or am I misunderstanding the scoping in Java?