O'Reilly logo

Programming Elm by Jeremy Fairbank

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6Build Larger Applications

Over the past few chapters, you built a stateful Elm application complete with server interaction. Although complex, that application was small and straightforward to build. Not every application is a cakewalk, unfortunately. As Elm applications grow, they can quickly become unmaintainable if you’re not careful. Large applications process many messages, which can lead to long, unreadable update and view functions with lots of code duplication.

In this chapter, you will shift gears to refactor a seemingly simple application suffering from scaling pains. This application isn’t large when measured by lines of code. However, you will see that maintaining it would be a problem in a truly large application.

You will ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required