• 0 Posts
  • 1 Comment
Joined 1 year ago
cake
Cake day: June 7th, 2025

help-circle
  • Type is more important? So if the first argument of a function is minAge, which is an int, the important part is that it is an int? Just feed it any int?

    No, the important part is the meaning, what the variable actually is, if you use a compiled language the compiler will handle types for you anyway. You’ll get a error if you feed it a string, or an water heater object, no surprises.

    Leave the machine work to the machine (compiler in this case), and concentrate on the real work, which is the meaning here.