When do you use `argument` and when do you use `pa...
# compiler
t
When do you use
argument
and when do you use
parameter
when talking about functions and generics in IR? I'm always confused about this one.
z
arguments are what you pass at call sites, parameters are what you declare in signatures
2
thank you color 1
Copy code
fun example(param1: String)

example("hello")
param1 is a parameter "hello" is an argument