Skip to content

drill.c -- Pay down accrued technical debt #221

@henrygab

Description

@henrygab
  • See SEI CERT C Coding Standard

  • Remove unused parameters from internal functions

    • drill_add_drill_hole()
    • new_state()
  • Use consistent order for similar function parameters

    • Reduces mental load
    • Avoids stack reshuffling
    • Easier debugging (stack in same order...)
  • Use descriptive variable names

  • Reduce cyclomatic complexity of large functions

These are all at least partially addressed by #210

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions