Why has functional programming become so popular in non-academic settings?

Why is functional programming the new thing suddenly? Why are industries also vouching for it and slowly shifting from pure imperative code to as much functional as possible. And I am not talking about functional languages like Haskell, OcaML, etc. It is the style of avoiding state wherever possible. I get it that academia has been programming functionally for quite a long time. Academia do many things that seem weird at the moment but later may become fruitful in practical settings.
Story Published at: March 5, 2023 at 07:33AM