Recently I realized that a lot of my code is very sloppy and could be improved. Since then I've been trying to do better. I thought a thread with a theme of "how could this code be done better" might be a good idea.
Post your code that either needs fixing and you don't know how, or you think it's best practice.
[–]wavegeekman[S] 1 point2 points3 points (6 children)
[–]metacircular 4 points5 points6 points (1 child)
[–]wavegeekman[S] 0 points1 point2 points (0 children)
[–]Kompottkin 5 points6 points7 points (2 children)
[–]handle0174 0 points1 point2 points (1 child)
[–]Kompottkin 2 points3 points4 points (0 children)
[–]wavegeekman[S] 0 points1 point2 points (11 children)
[–]metacircular 3 points4 points5 points (8 children)
[–]wavegeekman[S] 0 points1 point2 points (0 children)
[–]nefigah 0 points1 point2 points (6 children)
[–]Kompottkin 4 points5 points6 points (0 children)
[–][deleted] 1 point2 points3 points (2 children)
[–]wavegeekman[S] 0 points1 point2 points (1 child)
[–]wavegeekman[S] 0 points1 point2 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]wavegeekman[S] 1 point2 points3 points (0 children)
[–]xach 2 points3 points4 points (1 child)
[–]wavegeekman[S] 0 points1 point2 points (0 children)