Talks
Speakers
Events
Topics
Sign in
Home
Talks
Speakers
Events
Topics
Leaderboard
Use
Analytics
Sign in
Suggest modification to this talk
Title
Description
RailsConf 2019 - Sprinkles of Functional Programming by John Schoeman _______________________________________________________________________________________________ Cloud 66 - Pain Free Rails Deployments Cloud 66 for Rails acts like your in-house DevOps team to build, deploy and maintain your Rails applications on any cloud or server. Get $100 Cloud 66 Free Credits with the code: RailsConf-19 ($100 Cloud 66 Free Credits, for the new user only, valid till 31st December 2019) Link to the website: https://cloud66.com/rails?utm_source=-&utm_medium=-&utm_campaign=RailsConf19 Link to sign up: https://app.cloud66.com/users/sign_in?utm_source=-&utm_medium=-&utm_campaign=RailsConf19 _______________________________________________________________________________________________ Often in Rails apps there is a need to accomplish tasks where we are less interested in modeling domain concepts as collections of related objects and more interested in transforming or aggregating data. Instead of forcing object oriented design into a role that it wasn’t intended for, we can lean into ruby’s functional capabilities to create Rails apps with sprinkles of functional code to accomplish these tasks.
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
The video titled "Sprinkles of Functional Programming" features John Schoeman discussing the integration of functional programming concepts within Ruby on Rails applications. During the talk at RailsConf 2019, Schoeman aims to demonstrate that functional programming can enhance the quality and effectiveness of Rails code, especially for tasks focused on data manipulation rather than object modeling. Key points discussed include: - **Multifaceted Nature of Ruby**: Ruby's capabilities allow for both object-oriented and functional programming styles, and developers should choose based on the task at hand. - **Understanding Paradigms**: Object-oriented programming is effective for modeling behavior, whereas functional programming excels in handling data transformation and aggregation. - **Task-Based Approach**: Schoeman advocates for assessing how requirements might evolve over time and selecting a programming paradigm accordingly. - **Case Study**: Schoeman presents a fictional company scenario illustrating two approaches (object-oriented and functional). The object-oriented approach resulted in increased complexity with a proliferation of classes, while the functional approach maintained simplicity and clarity by emphasizing a data pipeline that was easier to manage and expand. - **Development Velocity**: The functional approach led to significantly less code and quicker implementation times compared to the object-oriented method. - **Actionable Insights**: The video concludes with recommendations for developers to consider potential changes in requirements and embrace a hybrid coding style that incorporates elements from both paradigms. Resources for further learning in functional programming are provided at the end. Overall, Schoeman's presentation emphasizes the importance of adapting programming styles to suit developmental needs and how functional programming can streamline the coding process in Rails applications.
Suggest modifications
Cancel