All of this would perhaps be already known to OP and other people, if the code had comments. This is where the adage comes in that the comments should explain why the code does what it does.
As the code currently is, anyone trying to fiddle with it would have no idea why large swathes of it are there. And it generally could use more than a bit of organizing.
All of this would perhaps be already known to OP and other people, if the code had comments. This is where the adage comes in that the comments should explain why the code does what it does.
As the code currently is, anyone trying to fiddle with it would have no idea why large swathes of it are there. And it generally could use more than a bit of organizing.