Lyt når som helst, hvor som helst

Nyd den ubegrænsede adgang til tusindvis af spændende e- og lydbøger - helt gratis

  • Lyt og læs så meget du har lyst til
  • Opdag et kæmpe bibliotek fyldt med fortællinger
  • Eksklusive titler + Mofibo Originals
  • Opsig når som helst
Start tilbuddet
DK - Details page - Device banner - 894x1036

Learning Functional Programming in Go: Change the way you approach your applications using functional programming in Go

Sprog
Engelsk
Format
Kategori

Fakta

Function literals, Monads, Lazy evaluation, Currying, and more

About This Book • Write concise and maintainable code with streams and high-order functions

• Understand the benefits of currying your Golang functions

• Learn the most effective design patterns for functional programming and learn when to apply each of them

• Build distributed MapReduce solutions using Go

Who This Book Is For

This book is for Golang developers comfortable with OOP and interested in learning how to apply the functional paradigm to create robust and testable apps. Prior programming experience with Go would be helpful, but not mandatory.

What You Will Learn • Learn how to compose reliable applications using high-order functions

• Explore techniques to eliminate side-effects using FP techniques such as currying

• Use first-class functions to implement pure functions

• Understand how to implement a lambda expression in Go

• Compose a working application using the decorator pattern

• Create faster programs using lazy evaluation

• Use Go concurrency constructs to compose a functionality pipeline

• Understand category theory and what it has to do with FP

In Detail

Functional programming is a popular programming paradigm that is used to simplify many tasks and will help you write flexible and succinct code. It allows you to decompose your programs into smaller, highly reusable components, without applying conceptual restraints on how the software should be modularized.

This book bridges the language gap for Golang developers by showing you how to create and consume functional constructs in Golang.

The book is divided into four modules. The first module explains the functional style of programming; pure functional programming (FP), manipulating collections, and using high-order functions. In the second module, you will learn design patterns that you can use to build FP-style applications. In the next module, you will learn FP techniques that you can use to improve your API signatures, to increase performance, and to build better Cloud-native applications. The last module delves into the underpinnings of FP with an introduction to category theory for software developers to give you a real understanding of what pure functional programming is all about, along with applicable code examples.

By the end of the book, you will be adept at building applications the functional way.

Style and approach

This book takes a pragmatic approach and shows you techniques to write better functional constructs in Golang. We'll also show you how use these concepts to build robust and testable apps.

© 2017 Packt Publishing (E-bog): 9781787286047

Release date

E-bog: 24. november 2017

Tags

    Andre kan også lide...

    1. Mastering Deep Learning: Fundamentals to Cutting-Edge Applications Chuck Sherman
    2. Mastering Machine Learning: A Blueprint for Success in the AI Era: Practical Techniques, Tools, and Strategies for Building Intelligent Systems Rachel Chen
    3. Mastering Machine Learning: Algorithms and Techniques: Harnessing Data for Intelligent Decision-Making Ahmed Musa
    4. Machine Learning Mastery: Unlocking the Future with Intelligent Algorithms Samantha Reynolds
    5. Machine Learning Made Simple: Essential Techniques for Modern Data Analysis Emily Johnson
    6. Machine Learning Mastery: Shaping the Future with Algorithms: Unlocking Insights Through Predictive Machine Learning Daniel Foster
    7. Edge Computing for Beginners: Simple Guide to Industry Applications and Future Trends Saimon Carrie
    8. 50 Kubernetes Concepts Every DevOps Engineer Should Know: Your go-to guide for making production-level decisions on how and why to implement Kubernetes Michael Levan
    9. Emerging Technologies: Trends and Predictions Craig Dames
    10. Hands-On System Programming with C++: Build performant and concurrent Unix and Linux systems with C++17 Dr. Rian Quinn
    11. Relational Databases: Mastering the Fundamentals of SQL, Design, and Optimization for Efficient Data Handling SAM CAMPBELL
    12. Python Data Analysis for Beginners: A Beginner's Handbook to Exploring and Visualizing Data Brian Murray
    13. AI Development for the Modern World: Shaping the Future with Intelligent Systems: A Comprehensive Guide to Building and Integrating AI Solutions Samantha Reed
    14. Getting Started with Terraform Kirill Shirinkin
    15. Mastering GraphQL: A Comprehensive Guide to Building APIs with GraphQL Et Tu Code
    16. Data Analytics Unleashed: Turning Numbers Into Strategic Insights: Transforming Complex Data into Clear Solutions Jessica Whitman
    17. Fog Computing Technologies: Bridging the Cloud and the Edge for Smarter, Faster, and More Efficient Networks May Sherry
    18. The Future of Technology: Trends and Innovations Craig Dames
    19. Internet of Things (IoT): Part 3. Future of IoT. Ethics and Governance Daniel Garfield
    20. Time Series Databases: A Practical Guide to Storing, Analyzing, and Visualizing Time-Stamped Data SAM CAMPBELL
    21. The Best Of Bicycle Gourmets More Than A Year in Provence Christopher Strong
    22. MySQL for Data Science: Unlocking Insights and Driving Innovation with MySQL in Data Science SAM CAMPBELL
    23. Cloud Craft: Architecture and Deployment Strategies: Designing and Implementing Scalable Cloud Solutions Alex Mitchell
    24. Internet of Things for Beginners: A Step-by-Step Guide to Understanding, Building, and Exploring Connected Systems Mark Jackson
    25. Data-Intensive Applications: Design, Development, and Deployment Strategies for Scalable and Reliable Systems Brian Murray
    26. Securing IoT: Concerns and Solutions: Addressing Security Challenges in the Internet of Things Benjamin Taylor
    27. Data Mining for Beginners: Discovering Data Treasures. A Beginner's Expedition into Mining Daniel Garfield
    28. Legend Makers Catherine Lanigan
    29. NoSQL Databases: Comprehensive Introduction to Non-Relational Data Management Brian Paul
    30. Create Your Ideal Financial Life: Elevate your finances: powerful guidance to reach your ideal financial future Caelum Sargrove
    31. Technology and the Environment: Sustainable Solutions Craig Dames
    32. Superintelligence: The End of the AI Honeymoon Devon Zander
    33. Lambda A Complete Guide - 2021 Edition Gerardus Blokdyk
    34. Invisible Worlds: Discovering the Universe's Hidden Matter Dirk Fallon
    35. Leigh Brackett: Enchantress of Venus Leigh Brackett
    36. Hack Your Brain: The Revolutionary Guide to Learn Anything Faster and Unlock Your Hidden Potential Claire Donnelly
    37. The Great Airship Flap. 1896-1897 George Mitrovic
    38. Discovering the Mind's Secrets: A Journey of Exploration and Healing: "Unlock Mind's Secrets: Engaging Audio Lessons for Exploration and Healing!"Reid A. Blackwood. Narrated by Nick Porter Reid A. Blackwood
    39. The Phantom Universe: A Glimpse into Hidden Dimensions (3 in 1) Dirk Fallon
    40. City Networks: Connectivity and Urban Development Lyric Vale
    41. Cosmic Alchemy: The Science Behind Dark Matter and Dark Energy Dirk Fallon

    Vælg dit abonnement

    • Over 600.000 titler

    • Download og nyd titler offline

    • Eksklusive titler + Mofibo Originals

    • Børnevenligt miljø (Kids Mode)

    • Det er nemt at opsige når som helst

    Flex

    For dig som vil prøve Mofibo.

    89 kr. /måned
    • 1 konto

    • 20 timer/måned

    • Gem op til 100 ubrugte timer

    • Eksklusivt indhold hver uge

    • Fri lytning til podcasts

    • Ingen binding

    Prøv gratis
    Den mest populære

    Premium

    For dig som lytter og læser ofte.

    129 kr. /måned
    • 1 konto

    • 100 timer/måned

    • Eksklusivt indhold hver uge

    • Fri lytning til podcasts

    • Ingen binding

    Start tilbuddet

    Unlimited

    For dig som lytter og læser ubegrænset.

    149 kr. /måned
    • 1 konto

    • Ubegrænset adgang

    • Eksklusivt indhold hver uge

    • Fri lytning til podcasts

    • Ingen binding

    Start tilbuddet

    Family

    For dig som ønsker at dele historier med familien.

    Fra 179 kr. /måned
    • 2-6 konti

    • 100 timer/måned pr. konto

    • Fri lytning til podcasts

    • Kun 39 kr. pr. ekstra konto

    • Ingen binding

    2 konti

    179 kr. /måned
    Start tilbuddet