Qbox-project / qbx_core

http://qbox-project.github.io
Other
64 stars 136 forks source link

Reformat the code #404

Closed bicatcho11 closed 7 months ago

bicatcho11 commented 7 months ago

Description

This formatting makes the code easier to read and understand, especially for someone who might be reviewing or modifying it later.

Checklist

D4isDAVID commented 7 months ago

I believe this does the opposite of what is intended. With these changes the files do become smaller and more concise, but that doesn't necessarily mean they're more readable.

Having all fields of a table defined on the same line is less readable, less modifiable, and can show up weird in diffs when committing changes. It gets especially annoying when lines defining tables get too long. items.lua is an extreme but great example for this.