Beschreibung
Get up to speed with Clojure in this quick and practical primer. You'll learn the nuts and bolts of functional programming, data structures, sequences, destructuring, pattern matching, polymorphism, concurrency, conventions, and more. Author Mark McDonnell talks about organization with namespaces; how to change the language via macros; object-oriented programming; and creating command-line apps. Finally, he shows you how to write Clojure from shell languages and interfaces such as Vim.
After reading and usingQuick Clojure, you'll come away with first-hand knowledge and advice on how to quickly adopt, use, and apply Clojure without all the theoretical baggage that bigger books can sometimes bring.
What You'll LearnWork with data structures and their syntax
Discover OOP in Clojure with patterns, polymorphisms, pattern matching, and concurrency
Use conventions, organization, and namespaces in Clojure
Create command-line apps
Build various Clojure projects with the Leiningen IDE tool and framework
Who This Book Is For
Programmers with experience. A Java background would be helpful, but not required.
Autorenportrait
Mark McDonnell is a Senior Software Engineer at BuzzFeed and was a software developer with BBC and StormCreative. He is a Polyglot programmer with experience in Clojure, Lisp, Vim, Tmax and other scripting languages. He has published books with Apress as well as self-published.
Inhalt
1. What is Clojure?.- 2. Data Structures and Syntax.- 3. Functional Programming.- 4. Sequences.- 5. Functions.- 6. Destructuring.- 7. Pattern Matching.- 8. Concurrency.- 9. Namespaces.- 10. Macros.- 11. Object Orientation.- 12. Leiningen.- 13. Command Line Applications.- Appendix A: Conventions.- Appendix B: Writing Clojure with Vim.
Informationen zu E-Books
„E-Book“ steht für digitales Buch. Um diese Art von Büchern lesen zu können wird entweder eine spezielle Software für Computer, Tablets und Smartphones oder ein E-Book Reader benötigt. Da viele verschiedene Formate (Dateien) für E-Books existieren, gilt es dabei, einiges zu beachten.
Von uns werden digitale Bücher in drei Formaten ausgeliefert. Die Formate sind EPUB mit DRM (Digital Rights Management), EPUB ohne DRM und PDF. Bei den Formaten PDF und EPUB ohne DRM müssen Sie lediglich prüfen, ob Ihr E-Book Reader kompatibel ist. Wenn ein Format mit DRM genutzt wird, besteht zusätzlich die Notwendigkeit, dass Sie einen kostenlosen Adobe® Digital Editions Account besitzen. Wenn Sie ein E-Book, das Adobe® Digital Editions benötigt herunterladen, erhalten Sie eine ASCM-Datei, die zu Digital Editions hinzugefügt und mit Ihrem Account verknüpft werden muss. Einige E-Book Reader (zum Beispiel PocketBook Touch) unterstützen auch das direkte Eingeben der Login-Daten des Adobe Accounts – somit können diese ASCM-Dateien direkt auf das betreffende Gerät kopiert werden.
Da E-Books nur für eine begrenzte Zeit – in der Regel 6 Monate – herunterladbar sind, sollten Sie stets eine Sicherheitskopie auf einem Dauerspeicher (Festplatte, USB-Stick oder CD) vorsehen. Auch ist die Menge der Downloads auf maximal 5 begrenzt.