Clojure for Java Developers(Paperback)

Eduardo Diaz

  • 出版商: Packt Publishing
  • 出版日期: 2016-02-23
  • 售價: $1,550
  • 貴賓價: 9.5$1,473
  • 語言: 英文
  • 頁數: 156
  • 裝訂: Paperback
  • ISBN: 178528150X
  • ISBN-13: 9781785281501
  • 相關分類: JVM 語言Java 程式語言
  • 下單後立即進貨 (約3~4週)

商品描述

Key Features

  • Write apps for the multithreaded world with Clojure's flavor of functional programming
  • Discover Clojure's features and advantages and use them in your existing projects
  • The book is designed so that you'll be able put to use your existing skills and software knowledge to become a more effective Clojure developer

Book Description

We have reached a point where machines are not getting much faster, software projects need to be delivered quickly, and high quality in software is more demanding as ever.

We need to explore new ways of writing software that helps achieve those goals. Clojure offers a new possibility of writing high quality, multi-core software faster than ever, without having to leave your current platform.

Clojure for Java developers aims at unleashing the true potential of the Clojure language to use it in your projects. The book begins with the installation and setup of the Clojure environment before moving on to explore the language in-depth. Get acquainted with its various features such as functional programming, concurrency, etc. with the help of example projects. Additionally, you will also, learn how the tooling works, and how it interacts with the Java environment.

By the end of this book, you will have a firm grip on Clojure and its features, and use them effectively to write more robust programs.

What you will learn

  • Understand the tools for the Clojure world and how they relate to Java tools and standards (like Maven)
  • Learn about immutable data structures, and what makes them feasible for everyday programming
  • Write simple multi-core programs using Clojure's core concepts, like atoms, agents and refs
  • Understand that in Clojure, code is data, and how to take advantage of that fact by generating and manipulating code with macros
  • Learn how Clojure interacts with Java, how the class loaders work and how to use Clojure from Java or the other way around
  • Discover a new, more flexible meaning of polymorphism and understand that OOP is not the only way to get it

About the Author

Eduardo Diaz is a developer with a strong background in the Java language. He has a passion for functional programming and new programming paradigms. His work includes full stack development, systems design, and high volume real time data processing.

He has worked on every technology related problem you can imagine, as a consultant solving anything related to Java, UNIX, C, or any other strange problem you might have had.

As a developer, he has been working for around 10 years on Java, Python, Scala, Clojure, in the media, bank, and primarily communications industries.

He is currently working at Grupo Expansion, a media company, where he helps design and implement a new content delivery platform aiming to empower content editors and encourage developers to find new ways to use data.

Table of Contents

  1. Getting Started with Clojure
  2. Namespaces, Packages, and Tests
  3. Interacting with Java
  4. Collections and Functional Programming
  5. Multimethods and Protocols
  6. Concurrency
  7. Macros in Clojure

商品描述(中文翻譯)

主要特點



  • 使用Clojure的函數式編程方式為多線程世界撰寫應用程式

  • 了解Clojure的特點和優勢,並在現有專案中應用它們

  • 本書設計使您能夠運用現有的技能和軟體知識,成為更有效的Clojure開發人員

書籍描述


我們已經到達一個機器速度不再提升、軟體專案需要快速交付、且對軟體品質的要求越來越高的階段。


我們需要探索新的軟體撰寫方式,以實現這些目標。Clojure提供了一種全新的可能性,可以比以往更快地撰寫高品質的多核軟體,而無需離開您目前的平台。


《Clojure for Java developers》旨在發揮Clojure語言的真正潛力,並將其應用於您的專案中。本書從Clojure環境的安裝和設定開始,然後深入探討該語言。通過示例專案,熟悉其各種功能,如函數式編程、並行處理等。此外,您還將了解工具的運作方式,以及它如何與Java環境互動。


通過閱讀本書,您將牢牢掌握Clojure及其功能,並有效地使用它們來撰寫更強大的程式。

您將學到什麼



  • 了解Clojure世界的工具及其與Java工具和標準(如Maven)的關聯

  • 了解不可變數據結構,以及使其適用於日常程式設計的原因

  • 使用Clojure的核心概念(如atoms、agents和refs)編寫簡單的多核程式

  • 了解在Clojure中,程式碼即數據,以及如何利用這一事實通過宏生成和操作程式碼

  • 了解Clojure如何與Java互動,類加載器的運作方式,以及如何從Java使用Clojure或反之亦然

  • 發現多態性的新、更靈活的含義,並了解物件導向並非唯一的實現方式

關於作者


Eduardo Diaz是一位在Java語言方面具有豐富背景的開發人員。他熱衷於函數式編程和新的程式設計範式。他的工作範圍包括全棧開發、系統設計和高容量實時數據處理。


他曾解決過您可以想像到的各種技術相關問題,作為一名顧問,解決與Java、UNIX、C或其他任何奇怪問題相關的任務。


作為一名開發人員,他在媒體、銀行和主要通訊行業等領域工作了約10年,使用Java、Python、Scala和Clojure等語言。


他目前在Grupo Expansion(一家媒體公司)工作,協助設計和實施一個新的內容傳遞平台,旨在增強內容編輯人員的能力,並鼓勵開發人員找到使用數據的新方法。

目錄



  1. 開始使用Clojure

  2. 命名空間、套件和測試

  3. 與Java互動

  4. 集合和函數式編程

  5. 多方法和協議

  6. 並行處理

  7. Clojure中的宏