Thinking in LINQ : harnessing the power of functional programing in .NET applications /
LINQ represents a paradigm shift for developers used to an imperative/object oriented programming style, because LINQ draws on functional programming principles. Thinking in LINQ addresses the differences between these two by providing a set of succinct recipes arranged in several groups, including:...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
[Berkeley, CA?] :
Apress,
2014.
|
Colección: | Expert's voice in .NET.
|
Temas: | |
Acceso en línea: | Texto completo (Requiere registro previo con correo institucional) |
Tabla de Contenidos:
- At a Glance; Introduction; Chapter 1: Thinking Functionally; 1-1. Understanding Functional Programming; 1-2. Using Func in C# to Represent Functions; 1-3. Using Various Types of Functions; Generator Functions; Statistical Functions; Projector Functions; Filters; 1-4. Understanding the Benefits of Functional Programming; Composability; Lazy Evaluation; Immutability; Parallelizable; Declarative; 1-5. Getting LINQPad; Chapter 2: Series Generation; 2-1. Math and Statistics: Finding the Dot Product of Two Vectors; Problem; Solution; How It Works.
- 2-2. Math and Statistics: Generating Pythagorean TriplesProblem; Solution; How It Works; 2-3. Math and Statistics: Finding a Weighted Sum; Problem; Solution; How It Works; 2-4. Math and Statistics: Finding the Percentile for Each Element in an Array of Numbers; Problem; Solution; How It Works; 2-5. Math and Statistics: Finding the Dominator in an Array; Problem; Solution; How It Works; 2-6. Math and Statistics: Finding the Minimum Number of Currency Bills Required for a Given Amount; Problem; Solution; How It Works; 2-7. Math and Statistics: Finding Moving Averages; Problem; Solution.
- How It Works2-8. Math and Statistics: Finding a Cumulative Sum; Problem; Solution; How It Works; 2-9. Recursive Series and Patterns: Generating Recursive Structures by Using L-System Grammar; Problem; Solution; How It Works; 2-10. Recursive Series and Patterns Step-by-Step Growth of Algae; Problem; Solution; How It Works; 2-11. Recursive Series and Patterns: Generating Logo Commands to Draw a Koch Curve; Problem; Solution; How It Works; 2-12. Recursive Series and Patterns: Generating Logo Commands to Draw a Sierpinski Triangle; Problem; Solution; How It Works.
- 2-13. Recursive Series and Patterns: Generating Fibonacci Numbers Nonrecursively (Much Faster)Problem; Solution; How It Works; 2-14. Recursive Series and Patterns: Generating Permutations; Problem; Solution; How It Works; 2-15. Recursive Series and Patterns: Generating a Power Set of a Given Set; Problem; Solution; How It Works; 2-16. Collections: Picking Every n)th Element; Problem; Solution; How It Works; 2-17. Collections: Finding the Larger or Smaller of Several Sequences at Each Index; Problem; Solution; How It Works.
- 2-18. Number Theory: Generating Armstrong Numbers and Similar Number SequencesProblem; Solution; How It Works; 2-19. Number Theory: Generating Pascal's Triangle Nonrecursively; Problem; Solution; How It Works; 2-20. Game Design: Finding All Winning Paths in an Arbitrary Tic-Tac-Toe Board; Problem; Solution; How It Works; 2-21. Series in Game Design: Solving Go Figure; Problem; Solution; How It Works; 2-22. Miscellaneous Series: Finding Matching Pairs from Two Unsorted Collections; Problem; Solution; How It Works; 2-23. Miscellaneous Series: Using a Lookup-Based Approach; Problem; Solution.