Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

Named Arguments

< >
Example from 1 languages: Python
print("Hello", end="!\n") # details: any parameter that hasn't been explicitly marked as positional-only # can be provided as a named argument
Example from 1 languages: Ruby
String.new("abc", encoding: "utf-8", capacity: 16)
Example from 1 languages: Scala
"abcdef".slice(from=2, until=4)
Example from 1 languages: Kotlin
"abcdef".subSequence(startIndex=2, endIndex=4)
*

Languages with Named Arguments include Python, Ruby, Scala, Kotlin, USSR

*

Languages without Named Arguments include JavaScript, C, Java, C++, TypeScript, Bash, Rust, Haskell

*

View all concepts with or missing a hasNamedArguments measurement

*

Read more about Named Arguments on the web: 1.

- Build the next great programming language 路 Add 路 Add Prompt 路 Issues 路 About 路 Search 路 Keywords 路 Livestreams 路 Labs 路 Resources 路 Acknowledgements