# Parameters and Arguments: An Easy Way to Remember the Difference

DevFeed: [Parameters and Arguments: An Easy Way to Remember the Difference](<https://devfeed.tech/articles/parameters-and-arguments-an-easy-way-to-remember-the-difference-25042.md>)

Original publisher: [Read original article](<https://typealias.com/guides/parameters-arguments/>)

Author: author@typealias.com (Dave Leeds)

Published: 2018-06-27T00:00:00Z

Content type: tutorial

Language: en

Sources: [Dave Leeds on Kotlin - typealias.com](<https://devfeed.tech/sources/dave-leeds-on-kotlin-typealias-com.md>)

Topics: [generics](<https://devfeed.tech/topics/generics.md>), [Kotlin](<https://devfeed.tech/topics/kotlin.md>), [interfaces](<https://devfeed.tech/topics/interfaces.md>)

Tags: [argument](<https://devfeed.tech/tags/argument.md>), [article](<https://devfeed.tech/tags/article.md>), [generics](<https://devfeed.tech/tags/generics.md>), [interfaces](<https://devfeed.tech/tags/interfaces.md>), [kotlin](<https://devfeed.tech/tags/kotlin.md>), [mnemonic](<https://devfeed.tech/tags/mnemonic.md>), [parameter](<https://devfeed.tech/tags/parameter.md>), [programming](<https://devfeed.tech/tags/programming.md>), [type-argument](<https://devfeed.tech/tags/type-argument.md>), [type-parameter](<https://devfeed.tech/tags/type-parameter.md>), [types](<https://devfeed.tech/tags/types.md>)

## AI overview

A tutorial explaining the difference between parameters and arguments in functions and generic classes. Parameters are used inside definitions, while arguments are supplied outside them; the article also discusses Kotlin type inference.

## Source excerpt

If you've ever had trouble remembering the difference between parameters and arguments, today's article is for you! Understanding this distinction can help when we're talking about functions, and it can help even more when we're talking about generics. Parameters and Arguments - the TL;DR It's a parameter when you're inside the definition. It's an argument when you're outside the definition. The easiest way to recall the difference between the two is to associate the word argument with the word outside, by remembering this phrase: