tensor_bro
tensor_bro
MModular
Created by tensor_bro on 1/26/2024 in #questions
When to use arguments over parameters
Hi all. In what cases would it be appropriate to pass an input to a function as an argument rather than as a parameter? One situation where it seemed appropriate was if you only know the type of the input at runtime - but fn functions require you to specify types for arguments anyhow.
11 replies