Functional Programming - 包涵卿[Image](/uploads/documents/8/4/0/f/840f7206b775279b3026587b268901a4/p3_1.jpg) ## WHAT Functional programming is a programming paradigm 1. treats computation as the evaluation of mathematical functions 2. avoids Wikipedia ## PARADIGM Declarative Programming Functional Programming Dataflow Programming Reactive Programming Imperative Programming Object-Oriented Programming  ## FUNCTIONAL ABSTRACTION ## OPTIONAL enum Optional{ case None case Some(T) ## OPTIONAL func map(f:0 码力 | 38 页 | 1.33 MB | 2 年前3
Back To Basics: Functional Programming in C++## +24 ## Back To Basics Functional Programming in C++ JONATHAN MÜLLER ## What is functional programming? ## I mperative Programming ## Definition Specify instructions that manipulate state in order achieve a goal. ## I mperative Programming ## Definition Specify instructions that manipulate state in order to achieve a goal. ☐ C and C++ ## I mperative Programming ## Definition Specify instructions ☐ CPU ## I mperative Programming ## Definition Specify instructions that manipulate state in order to achieve a goal. ☐ C and C++ ☐ CPU IKEA manual ## Declarative Programming ## Definition Specify0 码力 | 178 页 | 918.67 KB | 1 年前3
Applicative: The Forgotten Functional Pattern## Applicative: The Forgotten Functional Pattern ## +23 ## BEN DEANE ## 20 23 October 01 - 06 ## APPLICATIVE THE FORGOTTEN FUNCTIONAL PATTERN  kind kind of understand how they work ## FIRST, A QUICK SURVEY • I've heard of these functional patterns, but that's all • I (think I) kind of understand how they work • I don't see many use cases0 码力 | 141 页 | 11.33 MB | 1 年前3
Leveraging a Functional Approach for More Testable and Maintainable ROS 2 Code## +23 ## Leveraging a Functional Approach for More Testable and Maintainable ROS 2 Code BILAL GILL 20 23 October 01 - 06 ## Outline • Introduction • Overview of ROS 2 ROS 2 Conventional Approach Approach - Introduction to Functional Programming Principles - Refactoring using Functional Programming Principles • Conclusion  DALL-E 3, GPT-4 # Computer Programming with the Nim Programming Language A Gentle Introduction (C) Dr. Stefan Salewski 2020, 2021, 2022, 2023, 2024 user interface? ..... 16 What is computer programming? ..... 17 What is a computer program? ..... 18 What is an algorithm? ..... 19 What is a programming language? ..... 20 Compilers and interpreters interpreters ..... 21 Types of programming languages ..... 23 Why Nim? ..... 28 Some facts about Nim ..... 28 Nim supports many programming styles ..... 30 Nim is efficient ..... 31 Nim is expressive0 码力 | 512 页 | 3.50 MB | 1 年前3
Computer Programming with the Nim Programming Languages/3/5/c/1/35c1ba9c9ab3b9cfa638f142bcd5ba86/p1_1.jpg) DALL-E 3, GPT-4 # Computer Programming with the Nim Programming Language A Gentle Introduction (C) Dr. Stefan Salewski 2020, 2021, 2022, 2023, 2024 user interface? ..... 16 What is computer programming? ..... 17 What is a computer program? ..... 18 What is an algorithm? ..... 19 What is a programming language? ..... 20 Compilers and interpreters interpreters ..... 21 Types of programming languages ..... 23 Why Nim? ..... 28 Some facts about Nim ..... 28 Nim supports many programming styles ..... 30 Nim is efficient ..... 31 Nim is expressive0 码力 | 508 页 | 3.50 MB | 1 年前3
Computer Programming with the Nim Programming Languages/d/8/8/a/d88ab885cd04d24ebe4fb60bd3510fce/p1_1.jpg) DALL-E 3, GPT-4 # Computer Programming with the Nim Programming Language A Gentle Introduction (C) Dr. Stefan Salewski 2020, 2021, 2022, 2023, 2024 user interface? ..... 16 What is computer programming? ..... 17 What is a computer program? ..... 18 What is an algorithm? ..... 19 What is a programming language? ..... 20 Compilers and interpreters interpreters ..... 21 Types of programming languages ..... 23 Why Nim? ..... 28 Some facts about Nim ..... 28 Nim supports many programming styles ..... 30 Nim is efficient ..... 31 Nim is expressive0 码力 | 512 页 | 3.52 MB | 1 年前3
Computer Programming with the Nim Programming Languageinterface? What is computer programming? What is a computer program? What is an algorithm? What is a programming language? Compilers and interpreters Types of programming languages Why Nim? Our Value objects and references References and pointers Procedures and functions Object-oriented programming and inheritance Other built-in data types Iterators Templates Casts and type conversions Bitwise Hash sets Operating system services Command-line parsing Regular expressions Part IV: Some Programming Tasks Permutations Combinations Sorting Reading CSV files and other data Some small exercises0 码力 | 784 页 | 2.13 MB | 1 年前3
Computer Programming with the Nim Programming Languages/c/8/0/e/c80e22c5469e80cafce41264ba2376e8/p1_1.jpg) DALL-E 3, GPT-4 # Computer Programming with the Nim Programming Language A Gentle Introduction (C) Dr. Stefan Salewski 2020, 2021, 2022, 2023, 2024 user interface? ..... 16 What is computer programming? ..... 17 What is a computer program? ..... 18 What is an algorithm? ..... 19 What is a programming language? ..... 20 Compilers and interpreters interpreters ..... 21 Types of programming languages ..... 23 Why Nim? ..... 28 Some facts about Nim ..... 28 Nim supports many programming styles ..... 30 Nim is efficient ..... 31 Nim is expressive0 码力 | 512 页 | 3.50 MB | 1 年前3
Computer Programming with the Nim Programming Languages/e/9/0/b/e90bda6fa98e14ab54a9802c2a14ba78/p1_1.jpg) DALL-E 3, GPT-4 # Computer Programming with the Nim Programming Language A Gentle Introduction (C) Dr. Stefan Salewski 2020, 2021, 2022, 2023, 2024 user interface? ..... 16 What is computer programming? ..... 17 What is a computer program? ..... 18 What is an algorithm? ..... 19 What is a programming language? ..... 20 Compilers and interpreters interpreters ..... 21 Types of programming languages ..... 23 Why Nim? ..... 28 Some facts about Nim ..... 28 Nim supports many programming styles ..... 30 Nim is efficient ..... 31 Nim is expressive0 码力 | 508 页 | 3.53 MB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100













