20 Learn to Program in Dart:  Functions with Parameters and Arguments

20 Learn to Program in Dart: Functions with Parameters and Arguments

Dash to Dartlang

9 лет назад

647 Просмотров

This is a beginner's experience in learning to program with Dart. In this video, we review and define the following concepts and terms:

Argument - values than can be passed on to a function when calling it
Parameter - a variable that is used by the function, and provided by the argument when the function is called
Optional parameter - parameters require an argument, unless the parameter is optional. Optional parameters can have a default value if an argument is not provided.

Should be viewed in 480p or above.

Тэги:

#Dart_(Programming_Language) #Programming_Language_(Software_Genre)
Ссылки и html тэги не поддерживаются


Комментарии:

@kasandrop
@kasandrop - 17.10.2019 23:28

clean coding says you shouldn't have more than 2 arguments for the function. So if you have more it is time for refactoring.

Ответить