News for hackers. Stuff that matters.
Re:Why Reliability Demands Functional Programming by charcircuit on Saturday December 27, 2025 @08:31PM (#46407483)
>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 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:Why Reliability Demands Functional Programming by rastrian on Saturday December 27, 2025 @10:51PM (#46408238)
Agree with the framing: in payments/telecom, reliability is often achieved via fault tolerance + reconciliation more than “perfect correctness.”

My point is narrower: those mechanisms still benefit from making illegal transitions unrepresentable (e.g. explicit state machines) so your retries/idempotency don’t create new failure modes. It’s not correctness vs tolerance, it’s correctness inside tolerant designs.

Re:Why Reliability Demands Functional Programming by discarded1023 on Saturday December 27, 2025 @08:49PM (#46407606)
You'd like to know your fault tolerance is reliable and possibly even correct.
Re:Why Reliability Demands Functional Programming by charcircuit on Saturday December 27, 2025 @11:01PM (#46408300)
Not if proving so is more expensive to do than not. Reliability is only a means. Not the end. Also the human parts of the business would need to be simplified in order to model them. If deviate from the model that could invalidate it.
Re:Why Reliability Demands Functional Programming by rastrian on Saturday December 27, 2025 @11:12PM (#46408361)
Agree on the economics. I’m not arguing for full formal proofs; I’m arguing for low-cost enforcement of invariants (ADTs/state machines/exhaustiveness) that makes refactors safer and prevents silent invalid states. Human processes will always drift, so you enforce what you can at the system boundary and rely on reconciliation/observability for the rest.
Re:Why Reliability Demands Functional Programming by nickpsecurity on Sunday December 28, 2025 @10:23AM (#46411696)
You can also argue that debugging time can be expensive but static checks reduce debugging. This is much more true when it's concurrency errors.
Re:Why Reliability Demands Functional Programming by AdieuToLogic on Sunday December 28, 2025 @10:37PM (#46417212)
In the banking subdomain of credit/debit/fleet/stored-value card processing, over time when considering regulation and format evolution, services provided by banks/ISOs/VARs will effectively exhibit FP traits regardless the language(s) used to implement them.

Savvy processors recognize the immutability of each API version published to Merchants, along with how long each must be supported, and employ FP techniques both in design and implementation of their Merchant gateways.

Of course, the each bank's mainframes "on the rails" do not change unless absolutely necessary (and many times not even then).

Re:Why Reliability Demands Functional Programming by cloudhead on Sunday December 28, 2025 @08:54AM (#46411098)
False dichotomy.. if reliability matters, you have to invest in both. Fault tolerance is not a replacement for correctness.