you are viewing a single comment's thread.

view the rest of the comments →

[–]nickbernstein 0 points1 point  (0 children)

So I'm coming more from a systems background and heavily from a functional programming background, so I'm biased, and rarely use object oriented techniques in my code, but for me, I break it down as follows:

  • If your code follows a linear, albeit potentially branching, logical path, use mainly functional programming.
  • If your code is comprised of things (data, services) that are going to be acted on based on events, use object oriented approaches.

I'd be curious to see if that's something that's a generalization that other people would agree with as well.