Clojure Records and Protocols tutorial
on the code again
learningcalvaclojureclojure classesclojure defprotocolclojure defrecordclojure extend-protocolclojure guideclojure lessonclojure protocolclojure recordsclojure tutorialclojurescriptclojurescript guidecodecodingcodingisfundefprotocoldefrecorddeveloperextend-protocolhow to code clojurehow to defrecord in clojurehow to record in clojurehtmlhtml5learnfromhomelearningnewthingslearntocodeleiningentutorialwhat is clojure
Clojure is all about maps! There are ways to make your data "more structured" without having to enforce type safety and that's by using records via the defrecord function. You can also give records functions that use them via the defprotocol and extend-protocol functions :)
If you're wondering why you would use defrecord the reasons are faster key lookups and code legibility
Git Repo: https://github.com/danownsthisspace/records-n-protocols
0:00 Intro 0:11 Project setup 1:14 Defrecord 3:55 Defprotocol 6:45 Extend protocol ... https://www.youtube.com/watch?v=xpH6RGjZwNg
2022-02-18
0.0 LBC
Copyrighted (contact publisher)
56454668 Bytes