This presentation was recorded at YOW! 2017. #GOTOcon #YOW https://yowcon.com Charles O'Farrell - Senior Software Engineer Team Lead at Ambiata RESOURCES https://x.com/charlesofarrell https://github.com/charleso https://www.linkedin.com/in/charlesofarrell https://blog.charleso.org Links https://github.com/charleso/lambdajam-web-functions https://journal.infinitenegativeutility.com/resources-laziness-and-continuation-passing-style https://youtu.be/etuSnom2v2M ABSTRACT Functional programming is a great tool for enabling programmers to solve complex problems through the use of data and functions. However, not all data and functions are created equal, and some are less composable than others. Web libraries in particular are guilty of being overly opinionated and ending up as closed worlds of functionality. As programmers we are complicit whenever we find ourselves asking: "What web framework should I use"? But why do we need to choose a single framework in the first place? Why can't we compose functions from different libraries? Do we really need 5 different ways to get/set a cookie? This talk aims to deconstruct what we typically expect from a #WebFramework, and how we can achieve the same functionality with a series of small, composable functions. This will be demonstrated using Haskell's WAI library as a common building block, and contrasted to the equivalent implementation in other modern Haskell web frameworks. By the end of this talk web frameworks will be demystified and exposed for what they should be - a collection of composable functions. In addition the audience will have gained confidence in their ability to recognise good and bad functions, and to better evaluate the cost of the libraries they inhabit. RECOMMENDED BOOKS Edsger W. Dijkstra • A Discipline of Programming • https://amzn.to/3JlwHV6 Rebecca Skinner • Effective Haskell • https://amzn.to/3SxTpwY Uberto Barbini • From Objects to Functions • https://amzn.to/4cMDOmH https://twitter.com/GOTOcon https://www.linkedin.com/company/goto- https://www.facebook.com/GOTOConferences #WebOfFunctions #FunctionalProgramming #Haskell #Programming #SoftwareEngineering #ChralesOFarrell #YOWcon CHANNEL MEMBERSHIP BONUS Join this channel to get early access to videos & other perks: https://www.youtube.com/channel/UCs_tLP3AiwYKwdUHpltJPuA/join Looking for a unique learning experience? Attend the next GOTO conference near you! Get your ticket at https://gotopia.tech Sign up for updates and specials at https://gotopia.tech/newsletter SUBSCRIBE TO OUR CHANNEL - new videos posted almost daily. https://www.youtube.com/user/GotoConferences/?sub_confirmation=1
Get notified about new features and conference additions.