Giter Club home page Giter Club logo

composable-error-handling's Introduction

Composable Error Handling

Slides for a tech talk given at:

Deck Markdown source.

To run it in a local environment using reveal.js execute:

cd deck
npm install
npm start

Abstract

As Software Developers we solve complex problem. To solve them we first split them into smaller, simpler problems. Then we write code to solve the smaller problems. We combine those pieces of code to solve the larger problem. Ideally we aim to write 0 glue code to compose the code that solves the small problems into a program that solves the big one.

In this talk we will take the example of validation. It can be validating a form on the front end, validating input data on back end etc... We will explore how different validation strategies work in terms of error reporting, composition and ease of use. Along the way we will create a simple data type and a few utility functions. We will see that this nice home-grown solution works well and ticks all the boxes. Finally we move to a battle proven library.

Slides

Slides as PDF

composable-error-handling's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.