Named parameters: Difference between revisions

Content deleted Content added
Wutang (talk | contribs)
mNo edit summary
Wutang (talk | contribs)
Line 2,096:
 
=={{header|V (Vlang)}}==
1) Vlang allows for struct a struct literal to be passed to the function, instead of named parameters.
 
2) Using this style, fields need not appear in the same order as they are declared.
 
3) If one or more fields are omitted, their default values will be used instead.
 
4) The named parameter feature was deliberately omitted, for greater code readability.