What are the advantages that prototype based OO has over class based OO?

前端 未结 7 1430
借酒劲吻你
借酒劲吻你 2020-11-30 23:18

Why is class based OO so popular instead of prototype based OO? Do they teach the latter in schools? Though Javascript is prototype based, most people use it mostly function

相关标签:
7条回答
  • 2020-12-01 00:18

    http://en.wikipedia.org/wiki/Prototype-based_programming#Criticism explains it quite well I think.

    0 讨论(0)
提交回复
热议问题