Has anyone used JS.Class and liked it?

后端 未结 2 2120
耶瑟儿~
耶瑟儿~ 2021-02-20 11:45

Has anyone used JS.Class and liked it? I \'ve used Joose before and find it really good in creating clean code that is very readable and maintainable. Any real life stories ab

2条回答
  •  深忆病人
    2021-02-20 12:15

    I have not used it and I do not personally find a good use for the classical inheritance pattern so far in my experience. I switched to Javascript programming from Java to run away from all those design patterns!

    You may also (if you haven't already) take a look at these posts from Douglas Crockford on what he thinks of classical inheritance in javascript.

    http://www.crockford.com/javascript/inheritance.html

    http://javascript.crockford.com/prototypal.html

提交回复
热议问题