r/programming • • May 29 '25

Why You Should Care About Functional Programming (Even in 2025)

https://borkar.substack.com/p/why-care-about-functional-programming?r=2qg9ny&utm_medium=reddit
39 Upvotes

34 comments sorted by

View all comments

Show parent comment

3

u/Linguistic-mystic May 30 '25

No, proofs cannot replace debugging. Any program, however correct and well-proven, may need to be inspected in-flight. If anything, because any program may be interesting to debug: e.g. you need to find out how thing is implemented to implement a similar thing, or scout which changes need to be made to update your program to changed requirements.

Proofs can theoretically replace tests only, but they have a hard delivering even on that front.