#functional programming

Functional programming is a style of programming that focuses on writing small functions that take input, perform an action, and return output. It emphasizes the use of pure functions (functions which do not modify any data outside their scope) and immutable data (data that cannot be changed after it has been created). This style of programming is often used in JavaScript because it allows for more efficient code and easier debugging.
Building a Sustainable Codebase with FP
JSNation 2022JSNation 2022
20 min
Building a Sustainable Codebase with FP
As software engineers we are always trying to be more productive, to deliver better code, and to have faster development feedback. In this talk, we'll explore how functional programming, tests and hexagonal architecture can perform great together in order to support a maintainable codebase for hundreds of engineers and services. Diving deeper on how we can leverage hexagonal architecture with dependency rejection in order to decouple decisions from effects, resulting in a code that is easier to reason, compose and test. The codebase is not the only one that takes advantages from that, but also the developers. It helps everyone feel more comfortable and engaged about maintaining good practices.