Mastering F#
暫譯: 精通 F#
Alfonso Garcia-Caro Nunez, Suhaib Fahad
- 出版商: Packt Publishing
- 出版日期: 2016-11-30
- 售價: $2,010
- 貴賓價: 9.5 折 $1,910
- 語言: 英文
- 頁數: 264
- 裝訂: Paperback
- ISBN: 1784393436
- ISBN-13: 9781784393434
-
相關分類:
F#
海外代購書籍(需單獨結帳)
商品描述
Key Features
- Learn how to manage, run, and automate your servers using Puppet
- Explore how to use F# to develop large-scale applications quickly and simply, and become more productive in today’s age of cloud computing and multi-core programming
- This easy-to-follow guide is packed with real-world examples that will jump-start you with F# development on the .NET platform
Book Description
F# is a multi-paradigm programming language that encompasses object-oriented, imperative, and functional programming language properties. Now adopted in a wide range of application areas and is supported both by industry-leading companies who provide professional tools and by an active open community, F# is rapidly gaining popularity as it emerges in digital music advertising, creating music-focused ads for Spotify, Pandora, Shazam, and anywhere on the web.
This book will guide you through the basics and will then help you master F#. The book starts by explaining how to use F# with Visual Studio, file ordering, and the differences between F# and C# in terms of usage. It moves on to explain the functional core of F# such as data types, type declarations, immutability, strong type interference, pattern matching, records, F# data structures, sequence expressions, and lazy evaluation. Next, the book takes you through imperative and asynchronous programming, F# type providers, applications, and testing in F#. Finally, we look into using F# with distributed programming and using F# as a suitable language for data science. In short, this book will help you learn F# for real-world applications and increase your productivity with functional programming.
What you will learn
- Understand the basics of F# and organize F# source code with Visual Studio
- Work with F# data structures and create functional data structures in F# interoperate with C#
- Build and use asynchronous programming patterns with F#
- Create and use type providers that help perform data analysis from within Visual Studio
- Develop applications with pure F# code in WPF or ASP.NET MVC
- Find out how to perform distributed programming with ServiceBus or ZeroMQ
- Visualize data with charts, and work with Excel and R language Type providers
About the Author
Alfonso García-Caro Núñez is a linguist who, in recent years, changed the study of natural languages by the practice of their programming counterparts. He currently focuses on JavaScript and .NET development and has worked on developing mobile, web, and desktop applications for several industries, such as video games, education, green energy, or digital performances. He is also an international speaker who has presented at several conferences around the globe. His admiration for both the thriving JavaScript ecosystem and functional programming with F# made him look for a way to bring together both worlds, leading to the creation of Fable, an F# to JavaScript compiler that is attracting lot of attention from the community, and integrates the power and elegance of F# with the hundreds of JavaScript tools and libraries available.
Suhaib Fahad is an entrepreneur and is running a startup; he is also an expert F# programmer and enthusiast, using F# in various domains within the products that he is building. He is extremely passionate about developing in functional languages and loves to engage with developers of different communities. He has also been researching and working with cloud scale applications since 2012. Fahad lives in Bangalore, the IT hub of India, with his wife and baby boy.
Table of Contents
- Getting Started in F#
- Functional Core with F#
- Data Structures in F#
- Imperative Programming in F#
- Asynchronous Programming
- Type Providers
- Web Programming in F#
- Application Development in F#
- Testing in F#
- Distributed Programming in F#
商品描述(中文翻譯)
**主要特點**
- 學習如何使用 Puppet 管理、運行和自動化伺服器
- 探索如何使用 F# 快速簡單地開發大型應用程式,並在當今雲計算和多核心編程的時代中提高生產力
- 這本易於跟隨的指南充滿了實際範例,將幫助你快速入門 F# 在 .NET 平台上的開發
**書籍描述**
F# 是一種多範式編程語言,涵蓋了物件導向、命令式和函數式編程語言的特性。F# 現在被廣泛應用於各種應用領域,並受到行業領先公司的支持,這些公司提供專業工具,還有一個活躍的開源社群,F# 正迅速獲得人氣,尤其是在數位音樂廣告中,為 Spotify、Pandora、Shazam 及網路上的其他平台創建音樂相關的廣告。
本書將引導你了解基礎知識,然後幫助你精通 F#。本書首先解釋如何在 Visual Studio 中使用 F#、檔案排序,以及 F# 和 C# 在使用上的差異。接著,將解釋 F# 的函數式核心,例如資料類型、類型聲明、不變性、強類型推斷、模式匹配、記錄、F# 資料結構、序列表達式和延遲評估。然後,本書將帶你了解命令式和非同步編程、F# 類型提供者、應用程式和 F# 中的測試。最後,我們將探討如何使用 F# 進行分散式編程,以及將 F# 作為數據科學的合適語言。簡而言之,本書將幫助你學習 F# 以應用於實際情境,並提高你在函數式編程中的生產力。
**你將學到的內容**
- 理解 F# 的基礎知識,並使用 Visual Studio 組織 F# 原始碼
- 使用 F# 資料結構,並在 F# 中創建與 C# 互操作的函數式資料結構
- 使用 F# 構建和使用非同步編程模式
- 創建和使用類型提供者,幫助從 Visual Studio 中進行資料分析
- 在 WPF 或 ASP.NET MVC 中使用純 F# 代碼開發應用程式
- 瞭解如何使用 ServiceBus 或 ZeroMQ 進行分散式編程
- 使用圖表可視化資料,並與 Excel 和 R 語言類型提供者一起工作
**關於作者**
**Alfonso García-Caro Núñez** 是一位語言學家,近年來將自然語言的研究轉向其編程對應物的實踐。他目前專注於 JavaScript 和 .NET 開發,並曾為多個行業(如視頻遊戲、教育、綠色能源或數位表演)開發移動、網頁和桌面應用程式。他也是一位國際演講者,曾在全球多個會議上發表演講。他對蓬勃發展的 JavaScript 生態系統和 F# 的函數式編程的熱愛,使他尋找將這兩個世界結合的方法,最終創造了 Fable,一個 F# 到 JavaScript 的編譯器,吸引了社群的廣泛關注,並將 F# 的力量和優雅與數百個可用的 JavaScript 工具和庫整合在一起。
**Suhaib Fahad** 是一位企業家,正在經營一家初創公司;他也是一位專業的 F# 程式設計師和愛好者,在他所構建的產品中使用 F# 涉及多個領域。他對於在函數式語言中開發充滿熱情,並喜歡與不同社群的開發者互動。自 2012 年以來,他一直在研究和開發雲端規模的應用程式。Fahad 與妻子和小男孩一起住在印度的 IT 樞紐班加羅爾。
**目錄**
1. F# 入門
2. F# 的函數式核心
3. F# 中的資料結構
4. F# 中的命令式編程
5. 非同步編程
6. 類型提供者
7. F# 中的網頁編程
8. F# 中的應用程式開發
9. F# 中的測試
10. F# 中的分散式編程