Code style is important, but way less important than content. Yet everyone talks about style because it’s easier. Let’s talk about content.
Refactoring is focused on the quality of code, while factoring aims to uncover the underlying beauty of the problem domain, as expressed in code. Instead of cleaning up your code, try factoring.
I prefer to define Functional Programming as making a distinction between pure and impure code. With this definition, you can program functionally in any language. What differentiates the functional languages is how much help they give you to make the distinction.
Reference: Deconstructing Functional Programming Because if you think about it, the stack itself is just an optimization. Right? There are these frames which contain information about each invocation. Each stack frame. Each activation record. And that’s what they are–they’re activation records. They’re sort of objects. If you really have objects on the brain, like I […]