easy theory question. I have a couple years experience with PHP and Javascript, trying to branch out into other languages and to connect my experience with some theory.
Have been reading about programing paradigms like imperative, functional, object-oriented, etc. Is there any reason, within a particular program, to commit to one paradigm or another? I can think of reasons to mix, say, object oriented statements with functional statements, but then yo read about like, whole languages that 'belong' to a paradigm (like Lisp and functional programming, for example)
Is there any reason or advantage to commit to a particular paradigm, or is it okay to just roll with what works?