46
Forum Support and Suggestions / Re: Things that bug me
« on: November 17, 2015, 04:37:10 PM »Addendum: if you have a long line of code, you likely have a readability problem on your doorstep. Consider taking that long-ass statement and splitting it into a few lines. For example:It'd still be cool to have word-wrapping as a failsafe.Code: [Select]if ((x > left) &&
(y > top) &&
(x < right) &&
(y < bottom) &&
(complicated check #1 that goes after the simple coordinate check) &&
(complicated check #2)) {
...