theangryangel/XI4N

Lack of braces

Closed this issue · 2 comments

I'm going to go fix all the lack of braces around single-line if's. It drives me fucking crazy when looking at any of the code and hinders readability.

👅

Can think of other things that would be a better use of time, but if that’s what you want to do I might consider pulling it.

:P I expected more luls! I have been writing some useful things for xi4n (one of which would be useful for people training for the upcoming KY500. Also thinking about rewriting the current endurance tracker as currently the one everyone uses is some PHP4 spaghetti code. Fortunately with events, I can make that cleaner.

I'll look through issues and see if there's something better I could fix before tackling braces.

I still might fix all the braces. Reading through the code drives me crazy without braces for all if statements.

/rant over