Kotlin Named Arguments, Default Parameters - Kotlin Programming Tutorial for Beginners Part 5
Channel: goobar
Date: 2020-02-24

Welcome to Part 5 of this Kotlin programming tutorial for beginners.  In this part of the tutorial, you'll learn how to use the spread operator to pass a variable number or arguments to a function parameter.  You'll learn to leverage default parameter values and to use named arguments when invoking Kotlin functions.

- Define a vararg parameter
- Use the spread operator to pass an array to a vararg parameter
- Use named arguments to specify the ordering of passed argument values
- Use default parameter values to provide sensible default values for function parameters

This is Part 5 of an ongoing series: Kotlin Programming Tutorial for Beginners so be sure to check out the rest of the series to continue learning Kotlin.  This course is aimed at Kotlin beginners and for Java developers looking to transfer their skills to Kotlin.

Full Tutorial Playlist:
https://www.youtube.com/playlist?list=PLEPZdzLLJH95CnKw-StVhMcwo7MIkXu4x

Thanks for watching!
#kotlin #programming

Stay Up To Date
--
✉️ Subscribe to My Weekly Newsletter
https://mailchi.mp/d4dda8b66929/goobario

🔔 Subscribe to My Channel
https://www.youtube.com/c/goobario?sub_confirmation=1


Helpful Software Development Resources
--
📙 My Kotlin Book
https://amzn.to/2QB99Pq

📗 Recommended Android Development Books
https://www.amazon.com/shop/n8ebel?listId=2FIBS1KV859W

📚 Books That Have Helped Me In My Career
https://www.amazon.com/shop/n8ebel?listId=NR7OQ5R8DNJO

My Office Setup
---
🖥 Development Hardware
https://www.amazon.com/shop/n8ebel?listId=9X02HRBJ0ZVA

📷 My Vlogging Setup
https://www.amazon.com/shop/n8ebel?listId=144E0HV7ZIDJY

🙂 Follow Me Online
twitter ➡ https://twitter.com/n8ebel
website ➡ https://goobar.io
instagram ➡ https://www.instagram.com/n8ebel
youtube ➡ https://www.youtube.com/channel/UCVysWoMPvvHQMEJvRkslbAQ

ℹsome links direct to affiliate sites

Intro/Outro Song
Half Bit by Kevin MacLeod is licensed under a Creative Commons Attribution license (https://creativecommons.org/licenses/by/4.0/)
Source: http://incompetech.com/music/royalty-free/?keywords=%22half+bit%22
Artist: http://incompetech.com/