July 2019
Intermediate to advanced
310 pages
7h 26m
English
In the previous chapter, you learned how to use the Elm Architecture to “like” a photo in the Picshare application. Unfortunately, you accumulated some technical debt in that process. Don’t worry. Elm makes refactoring tech debt safe thanks to static types. In this chapter, you will refactor the application to simplify the code. Regardless of the language, refactoring is a common practice in programming and helps improve understanding and maintainability of codebases.
You will also enhance the application by allowing users to comment on the photo. In any real-world application, your boss will probably request new applications features from time to time, and Elm is well suited to new feature development. ...
Read now
Unlock full access