79692737

Date: 2025-07-07 10:54:27
Score: 3
Natty:
Report link

Thank you all for commenting on my post. I will be accepting the comment made by @Sylwester as the answer.

Functional programming doesn't have Type -> Nothing and Nothing -> Type is basically a constant since the return value will always be the same. Nothing -> Nothing would be the same, but with "Nothing" as the value. In other languages sending in the same (or nothing) and getting different results and sending in parameters and get the same nothing result makes sense due to side effects (IO, mutation, ...) however since FP does not have this there shouldn't be such functions.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): @Sylwester
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: liampace