Learning Functional Programming in Scala (Học lập trình hàm với ngôn ngữ Scala) - Alvin Alexander
- 페이지 수
- 619
- 형식
- 크기
- 3.9 MB
- 언어
- EN · English
- 연도
- 2017
- 조회수
- 0
- 댓글
- 0
- Lượt tải
- 2
미리보기 생성 중...
Tài liệu học lập trình hàm bằng ngôn ngữ Scala, bao gồm các khái niệm từ cơ bản đến nâng cao.
- 문서명
- Learning Functional Programming in Scala (Học lập trình hàm với ngôn ngữ Scala) - Alvin Alexander
- 작성자 (문서 내)
- Alvin Alexander
- 내용
- Cuốn sách này giới thiệu lập trình hàm trong Scala bằng cách tiếp cận từng bước, giải thích các khái niệm cốt lõi như hàm thuần khiết, đệ quy, và cách sử dụng các cấu trúc của Scala để viết mã hàm. Mục tiêu là giúp người đọc hiểu và áp dụng tư duy lập trình hàm hiệu quả.
- 목차
- Contents
- 1 Change log
- 2 Preface
- 3 Introduction
- 4 Who This Book is For (or, Why I Wrote This Book)
- 5 Goals
- 6 Question Every thing
- 7 Rules for Programming in this Book
- 8 One Rule for Reading this Book
- 9 What is “Functional Programming”?
- 10 What is This Lambda You Speak Of?
- 11 The Benefits of Functional Programming
- 12 Dis advantages of Functional Programming
- 13 The“Great FPTerminology Barrier”
- 14 Pure Functions
- 15 Grandma’s Cookies (and Pure Functions)
- 16 Benefits of Pure Functions
- 17 Pure Functions and I/O
- 18 Pure Function Signatures Tell All
- 19 Functional Programming as Algebra
- 20 A Note About Expression-Oriented Programming
- 21 Functional Programming is Like Unix Pipelines163
- 22 Functions Are Variables, Too
- 23 Using Methods As If They Were Functions
- 24 How to Write Functions That Take Functions as Input Parameters
- 25 How to Write a ‘map’ Function
- 26 How to Use By-Name Parameters
- 27 Functions Can Have Multiple Parameter Groups
- 28 Partially-Applied Functions (and Currying)
- 29 Recursion: Introduction
- 30 Recursion: Motivation
- 31 Recursion: Let’s Look at Lists
- 32 Recursion: How to Write a ‘sum’ Function
- 33 Recursion: How Recursive Function Calls Work
- 34 Visualizing the Recursive sum Function
- 35 Recursion: A Conversation Between Two Developers
- 36 Recursion: Thinking Recursively
- 37 JVMStacks andStack Frames
- 38 AVisual Look at Stacks and Frames
- 39 Tail-Recursive Algorithms
- 40 A First Look at “State”
- 41 A Functional Game (With a Little Bit of State)
- 42 A Quick Review of Case Classes
- 43 Update as You Copy, Don’t Mutate
- 44 A Quick Review of for Expressions
- 45 How to Write a Class That Can Be Use dina for Expression
- 46 Creating a Sequence Class to be Used in a for Comprehension
- 47 Making Sequence Work in a Simple for Loop
- 48 How To Make Sequence Work as a Single Generator in a for Expression
- 49 Enabling Filtering in a for Expression
- 50 How to Enable the Use of Multiple Generators in a for Expression
- 51 A Summary of the for Expression Lessons
- 52 Pure Functions Tell No Lies
- 53 Functional Error Handling (Option, Try, or Either)
- 54 EmbraceTheIdioms!
- 55 What to Think When You See That Opening Curly Brace
- A Explaining Scala’s val Function Syntax
- B for expression translation examples
- 페이지 수
- 619 페이지
- 업로더
- lienhejb
설명
Trích nội dung tài liệu
Learning Functional Programming in Scala Alvin Alexander A logical, step by step approach to learning functional programming Copyright Learning Functional Programming in Scala Copyright 2017 Alvin J. Alexander All rights reserved. No part of this book may be reproduced without prior written permission from the author. Disclaimer: This book is presented solely for educational purposes, and it’s also a work in progress. While best efforts have been used in preparing this book, the author makes no representations or warranties of any kind and assume no liabilities of any kind with respect to the accuracy or completeness of the contents, and specifically disclaim any implied warranties of merchantability or fitness of use for a particular purpose. The author shall not be held liable or responsible to any person or entity with respect to any loss or incidental or consequential damages caused, or alleged to have been caused, directly or indirectly, by the information or programs contained herein. Any use of this information is at your own risk. The advice and strategies contained herein may not be suitable for your situation. Version 0.1.1, published May 15, 2017 (The cover photo was taken on the Dalton Highway in Alaska, somewhere between Fairbanks and Prudhoe Bay.) Contents 1 Changelog 1 2 Preface 3 3 Introduction (or, Why I Wrote This Book) 5 4 Who This Book is For 11 5 Goals 15 6 Question Everything 23 7 Rules for Programming in this Book 33 8 One Rule for Reading this Book 39 9 What is “Functional Programming”? 41 10 What is This Lambda You Speak Of ? 55 i ii CONTENTS 11 The Benefits of Functional Programming 73 12 Disadvantages of Functional Programming 99 13 The “Great FP Terminology Barrier” 123 14 Pure Functions 131 15 Grandma’s Cookies (and Pure Functions) 141 16 Benefits of Pure Functions 153 17 Pure Functions and I/O 163 18 Pure Function Signatures Tell All 173 19 Functional Programming as Algebra 181 20 A Not
자주 묻는 질문
이 문서를 어떻게 다운로드하나요?
“Learning Functional Programming in Scala (Học lập trình hàm với ngôn ngữ Scala) - Alvin Alexander” 문서의 가격은 5,000đ입니다. PayOS를 통해 지갑을 충전한 다음, '다운로드'를 클릭하여 원본 파일을 구매하고 저장하세요.
이 문서는 몇 페이지로 되어 있나요?
이 문서는 619페이지입니다. 다운로드하기 전에 온라인으로 미리 볼 수 있습니다.
다운로드하기 전에 미리 볼 수 있나요?
네. 이 페이지의 온라인 리더를 통해 문서를 미리 본 후 (처음 몇 페이지) 다운로드 여부를 결정할 수 있습니다.
Learning Functional Programming in Scala (Học lập trình hàm với ngôn ngữ Scala) - Alvin Alexander
미리보기 생성 중...
Trích nội dung tài liệu
Learning Functional Programming in Scala Alvin Alexander A logical, step by step approach to learning functional programming Copyright Learning Functional Programming in Scala Copyright 2017 Alvin J. Alexander All rights reserved. No part of this book may be reproduced without prior written permission from the author. Disclaimer: This book is presented solely for educational purposes, and it’s also a work in progress. While best efforts have been used in preparing this book, the author makes no representations or warranties of any kind and assume no liabilities of any kind with respect to the accuracy or completeness of the contents, and specifically disclaim any implied warranties of merchantability or fitness of use for a particular purpose. The author shall not be held liable or responsible to any person or entity with respect to any loss or incidental or consequential damages caused, or alleged to have been caused, directly or indirectly, by the information or programs contained herein. Any use of this information is at your own risk. The advice and strategies contained herein may not be suitable for your situation. Version 0.1.1, published May 15, 2017 (The cover photo was taken on the Dalton Highway in Alaska, somewhere between Fairbanks and Prudhoe Bay.) Contents 1 Changelog 1 2 Preface 3 3 Introduction (or, Why I Wrote This Book) 5 4 Who This Book is For 11 5 Goals 15 6 Question Everything 23 7 Rules for Programming in this Book 33 8 One Rule for Reading this Book 39 9 What is “Functional Programming”? 41 10 What is This Lambda You Speak Of ? 55 i ii CONTENTS 11 The Benefits of Functional Programming 73 12 Disadvantages of Functional Programming 99 13 The “Great FP Terminology Barrier” 123 14 Pure Functions 131 15 Grandma’s Cookies (and Pure Functions) 141 16 Benefits of Pure Functions 153 17 Pure Functions and I/O 163 18 Pure Function Signatures Tell All 173 19 Functional Programming as Algebra 181 20 A Not
- 문서명
- Learning Functional Programming in Scala (Học lập trình hàm với ngôn ngữ Scala) - Alvin Alexander
- 작성자 (문서 내)
- Alvin Alexander
- 내용
- Cuốn sách này giới thiệu lập trình hàm trong Scala bằng cách tiếp cận từng bước, giải thích các khái niệm cốt lõi như hàm thuần khiết, đệ quy, và cách sử dụng các cấu trúc của Scala để viết mã hàm. Mục tiêu là giúp người đọc hiểu và áp dụng tư duy lập trình hàm hiệu quả.
- 목차
- Contents
- 1 Change log
- 2 Preface
- 3 Introduction
- 4 Who This Book is For (or, Why I Wrote This Book)
- 5 Goals
- 6 Question Every thing
- 7 Rules for Programming in this Book
- 8 One Rule for Reading this Book
- 9 What is “Functional Programming”?
- 10 What is This Lambda You Speak Of?
- 11 The Benefits of Functional Programming
- 12 Dis advantages of Functional Programming
- 13 The“Great FPTerminology Barrier”
- 14 Pure Functions
- 15 Grandma’s Cookies (and Pure Functions)
- 16 Benefits of Pure Functions
- 17 Pure Functions and I/O
- 18 Pure Function Signatures Tell All
- 19 Functional Programming as Algebra
- 20 A Note About Expression-Oriented Programming
- 21 Functional Programming is Like Unix Pipelines163
- 22 Functions Are Variables, Too
- 23 Using Methods As If They Were Functions
- 24 How to Write Functions That Take Functions as Input Parameters
- 25 How to Write a ‘map’ Function
- 26 How to Use By-Name Parameters
- 27 Functions Can Have Multiple Parameter Groups
- 28 Partially-Applied Functions (and Currying)
- 29 Recursion: Introduction
- 30 Recursion: Motivation
- 31 Recursion: Let’s Look at Lists
- 32 Recursion: How to Write a ‘sum’ Function
- 33 Recursion: How Recursive Function Calls Work
- 34 Visualizing the Recursive sum Function
- 35 Recursion: A Conversation Between Two Developers
- 36 Recursion: Thinking Recursively
- 37 JVMStacks andStack Frames
- 38 AVisual Look at Stacks and Frames
- 39 Tail-Recursive Algorithms
- 40 A First Look at “State”
- 41 A Functional Game (With a Little Bit of State)
- 42 A Quick Review of Case Classes
- 43 Update as You Copy, Don’t Mutate
- 44 A Quick Review of for Expressions
- 45 How to Write a Class That Can Be Use dina for Expression
- 46 Creating a Sequence Class to be Used in a for Comprehension
- 47 Making Sequence Work in a Simple for Loop
- 48 How To Make Sequence Work as a Single Generator in a for Expression
- 49 Enabling Filtering in a for Expression
- 50 How to Enable the Use of Multiple Generators in a for Expression
- 51 A Summary of the for Expression Lessons
- 52 Pure Functions Tell No Lies
- 53 Functional Error Handling (Option, Try, or Either)
- 54 EmbraceTheIdioms!
- 55 What to Think When You See That Opening Curly Brace
- A Explaining Scala’s val Function Syntax
- B for expression translation examples
- 페이지 수
- 619 페이지
- 업로더
- lienhejb
댓글 (0)
댓글이 없습니다. 첫 댓글을 남겨보세요!
Ngân hàng đề thi môn: Hệ thống thông tin quản lý
Đề thi môn Cơ sở dữ liệu (kèm Đáp án) - Đại học Sư phạm kỹ thuật
Đề thi và đáp án môn Hệ thống thông tin kế toán
Đề thi và đáp án môn Cấu trúc dữ liệu giải thuật
Đáp án đề thi môn Mạng máy tính - ĐH Công nghệ thông tin (CNTT)
K5 Bộ đề luyện thi Trạng Nguyên Tiếng Việt (NXB DHQG)
K2 Bộ đề luyện thi Trạng Nguyên Tiếng Việt (NXB DHQG)
K3 Bộ đề luyện thi Trạng Nguyên Tiếng Việt (NXB DHQG)
K4 Bộ đề luyện thi Trạng Nguyên Tiếng Việt (NXB DHQG)
K1 Bộ đề luyện thi Trạng Nguyên Tiếng Việt (NXB DHQG)

댓글 (0)
댓글이 없습니다. 첫 댓글을 남겨보세요!