Functional programming and reliability: ADTs, safety, critical infrastructure
1–10 of 191 posts
Re: Functional programming and reliability: ADTs, safety, critical infrastructure
#2Re: Functional programming and reliability: ADTs, safety, critical infrastructure
#3This reliability isn't done by being perfect 100% of the time. Things like being able to handle states where transactions don't line up allowing for payments to eventually be settled. Or for telecom allowing for single parts of the system to not take down the whole thing or adding redundancy. Essentially these types of businesses require fault tolerance to be supported. The real world is messy, there is always going to be faults, so investing heavily into correctness may not be worth it compared to investing into fault tollerance.
Re: Functional programming and reliability: ADTs, safety, critical infrastructure
#4This article seems to conflate strong type systems with functional programming, except in point 8. It makes sense why- OCaml and Haskell are functional and were early proponents of these type systems. But, languages like Racket don’t have these type systems and the article doesn’t do anything to explain why they are _also_ better for reliability.
Re: Functional programming and reliability: ADTs, safety, critical infrastructure
#5Re: Functional programming and reliability: ADTs, safety, critical infrastructure
#6This article seems to conflate strong type systems with functional programming, except in point 8. It makes sense why- OCaml and Haskell are functional and were early proponents of these type systems. But, languages like Racket don’t have these type systems and the article doesn’t do anything to explain why they are _also_ better for reliability.
Re: Functional programming and reliability: ADTs, safety, critical infrastructure
#7Re: Functional programming and reliability: ADTs, safety, critical infrastructure
#8This article seems to conflate strong type systems with functional programming, except in point 8. It makes sense why- OCaml and Haskell are functional and were early proponents of these type systems. But, languages like Racket don’t have these type systems and the article doesn’t do anything to explain why they are _also_ better for reliability.
Re: Functional programming and reliability: ADTs, safety, critical infrastructure
#9I'm wary of absolute statements about programming.
Reliability should be simpler with FP but so much depends on correctness of the runtime and IO.
Erlang and the "run correctly or die" comes to mind as well. The system is either working or is off. When being off is fatal, Erlang seems to shrug and say "maybe next karmic cycle" maybe this too is a better approach?
Re: Functional programming and reliability: ADTs, safety, critical infrastructure
#10>In banking, telecom, and payments, reliability is not a nice to have. It is table stakes. This reliability isn't done by being perfect 100% of the time. Things like being able to handle states where transactions don't line up allowing for payments to eventually be settled. Or for telecom allowing for single parts of the system to not take down the whole thing or adding redundancy. Essentially these types of business…