Skip to content

Conversation

@Zoybean
Copy link
Contributor

@Zoybean Zoybean commented Jan 7, 2019

  • Remove clutter
  • Make internal members private
  • Remove overly broad throw and catch clauses
  • Use consistent capitalisation
  • Use consistent code formatting

* Remove redundant statements, declarations, type parameters, casts, etc
* Add braces to all control flow statements
* Mark methods private where possible
* Simplify boolean expressions (eg `b == true`)
* Replace `for(;;)` with `for(:)` where possible
* Narrow catch clauses
* Ensure method names are in lowerCamelCase and classes in UpperCamelCase
* Ensure variable names are in lowerCamelCase or ALLCAPS
* Mark variables private where possible (ignoring variables in all caps)
* Remove unused methods and variables (ignoring incomplete methods,
members that are used in commented-out code, alternative sorting
algorithms, and utility methods)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant