JQuery paradigm?

It seems to me that jQuery doesn't seem to be written as an OOP structure, it seems too short and not detailed enough for that. Am I thinking about this correctly, and if it is not written as OOP, then what methodology / paradigm do they use?

+3
source share
4 answers

They use the functional programming paradigm .

It is tiny, simple and fast.

+4
source

I would suspect that the methodology will be: to make it as small and small as possible.

+9
source

jQuery monad. , Haskell, . . http://importantshock.wordpress.com/2009/01/18/jquery-is-a-monad/

I do not want to say that jQuery uses the functional programming paradigm because it is very stable, which functional programs are trying to avoid.

+3
source

No, jquery is not written as frames. It's about abstracting dom and ajax. Here is a great article on the differences between jquery and mootools: http://jqueryvsmootools.com/

+2
source

Source: https://habr.com/ru/post/1743188/


All Articles