Skip to content

[Refactor] Improve code quality #379

@damien-rivet

Description

@damien-rivet

Terms

Description

The whole codebase could benefit from a code quality upgrade.

A non-exhaustive list:

  • Remove all instance of force-unwraps
  • Replace usage of if something { let something } checks with guard let and if let whenever possible to allow for early return and nil-unwrapping safety
  • Use isEmpty instead of .count
  • Move hardcoded strings and magic numbers into dedicated constants (sizes, languages, keyboards, keys, icons, etc.)

Contribution

No response

Metadata

Metadata

Labels

featureNew feature or requesthelp wantedExtra attention is neededrefactorRefactor code to improve quality

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions