1

While programming is imperative (how to x) rather than declarative (x = y) (mathematics), it deceives me from the idea that I won't have to touch a lot of math.

To my dismay, I now realize that in order for the imperative process to be correct, I have to do immense amounts of declarative thinking (algorithms, proofs,..). That which is written has to work.

Comments
  • 1
    That's why I like functional programming. It's not always the right fit, but when it is, it's much more declarative than your typical Algol-based imperative programming language. (And let's not kid ourselves: most OO programs I have seen are inherently imperative.)
  • 1
    Eh, just put a null check she'll be 'aight
  • 0
    @SomeNone this is why i love mixed paradigm langs like scala and ocaml, you can easily integrate a monad or a functor if that makes the most sense into heavy oop business architectures
Add Comment