Talks
Speakers
Events
Topics
Sign in
Home
Talks
Speakers
Events
Topics
Leaderboard
Use
Analytics
Sign in
Suggest modification to this talk
Title
Description
Date
Summarized using AI?
If this talk's summary was generated by AI, please check this box. A "Summarized using AI" badge will be displayed in the summary tab to indicate that the summary was generated using AI.
Show "Summarized using AI" badge on summary page
Summary
Markdown supported
In the presentation titled 'Monads as a Clean Solution To Our Messy Code', Nathaly Villamor discusses how monads can be utilized to manage complex coding challenges effectively. Starting with an introduction about herself and her background, she emphasizes her passion for coding and community involvement. Villamor shares her role as a development lead at Waco, a Colombian company focused on water conservation through IoT solutions, and introduces her team of engineers tasked with building a robust software architecture. Throughout the presentation, the following key points are outlined: - **Introduction to Monads**: Villamor recognizes the initial confusion about monads among her junior developers and shares her struggle to explain them clearly. - **Architecture**: The application architecture is built using Ruby API, AWS IoT, React for the frontend, and various functions, facing challenges with asynchronous processes and fragile code. - **Monads as Solutions**: She discusses monads, specifically focusing on the 'Result' monad, which wraps responses and simplifies error management. This is illustrated through her gamification technique, using a gaming metaphor where developers navigate a labyrinth with different paths representing coding scenarios. - **Different Types of Monads**: Additional monads—'Maybe' and 'Try'—are introduced to illustrate their unique purposes in handling nil values and exceptions. Each type reinforces the structured handling of errors and responses, promoting clean code. - **Error Handling and Testing**: Villamor emphasizes that managing errors effectively enhances maintainability. Unit testing and validating each module independently are encouraged, all underlining a structured approach to coding. - **Conclusion on Best Practices**: She offers takeaways about using monads judiciously, ensuring that documentation and team understanding are prioritized. Villamor cautions against forcing monads into every scenario, recognizing their specific use cases for managing complexity in programming. In closing, Nathaly Villamor advocates for the implementation of monads to facilitate clear, organized, and maintainable code while allowing flexibility in handling potential errors, encouraging developers to explore the subject further to fully integrate these concepts within their work.
Suggest modifications
Cancel