• 0 Posts
  • 296 Comments
Joined 11 months ago
cake
Cake day: August 16th, 2023

help-circle

  • Yes absolutely, the parameter even if not in a strongly typed language should be a specific number and the unit should be implied. Overload the method to support different units if necessary or provide a unit as an additional parameter instead of forcing the method to parse the string for any unit type hints that may or may not be there