Keyword arguments
Read OriginalThis technical article discusses the implementation of keyword arguments in Clojure programming using the defnk macro from clojure.contrib.def. It compares Clojure's approach with Common Lisp's more advanced keyword argument system, which allows default values to reference other function arguments. The author examines the limitations of defnk and questions if better alternatives exist for handling optional named parameters in Clojure functions.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser