Using Algebras in PHP
By Lochemem Bruno Michael
Algebras are commonplace in Functional Programming, paradigm incrementally gaining mainstream appeal in PHP. They offer a means of enforcing referential transparency in codebases rife with a plethora of side-effects endemic to real-world programs that typically feature some combination of I/O interactions and error handling.
This article was originally published in the August 2021 issue of PHP Architect magazine. To read the complete article please subscribe or purchase the complete issue.
Leave a comment
Use the form below to leave a comment: