I noticed that Clojure usually uses keywords as keys on a map, while in other languages that don't have this concept, they usually use strings.
What are the benefits of using keywords instead of strings or other types?
get
(map :phone-no people)
(map #(get % "phone-no") people)
let :
let
(let[{:keys [foo bar]} {:foo 1 :bar 30}] (+ foo bar)) ;;=>31
, :strs.
:strs
Source: https://habr.com/ru/post/1619689/More articles:MySQL Workbench import restriction - importTrigger trigger notification / callback after phleg action - javascriptOSError: [Errno 107] The endpoint of the vehicle is not connected - pythonPrefab does not activate when colliding with an object - c #Как обслуживать созданный tempfile в django - pythonJavascript - encodeURI () saving different results in different browsers - javascriptUWP, how to read ALL data from StreamSocket - c #Динамическое пользовательское меню WordPress не показывает правильные результаты - htmlWhy does malloc (1) give more than one page size? - cSemantic footer interface - htmlAll Articles