Skip to content

Conversation

jlillis
Copy link
Contributor

@jlillis jlillis commented Sep 7, 2024

I've added a few proposed guidlines for resources code:

  1. Using error for error handling
  2. Avoiding anonymous functions
  3. Use of constants/avoiding magic numbers
  4. Basic naming conventions
  5. Avoid OOP
  6. Use range-based for loops

Most of these are pretty standard practice already, while others (particularly 1 and 3) are personal practices of mine that I think are worth considering.

@TracerDS TracerDS self-assigned this Sep 12, 2024
@TracerDS TracerDS added documentation Improvements or additions to documentation enhancement New feature or request labels Sep 12, 2024
@Lpsd Lpsd merged commit 984d056 into multitheftauto:main Sep 16, 2024
@Lpsd
Copy link
Member

Lpsd commented Sep 16, 2024

Thanks for the contribution! :shipit:

@jlillis jlillis deleted the resources-guidelines-proposal branch November 5, 2024 00:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants