Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
loadModel() VS requestAction() VSConstructClasses() 。
有什么区别?哪个更好,为什么?
在哪种情况下首选哪一种,为什么?
马克已经在评论中回答了你的问题。这是一个非常无效的问题!这三种方法做了三件完全不同的事情。
即使这些方法做同样的事情,你的问题仍然没有任何意义——更好的是什么?你想达到什么目的?没有上下文,这就像问“哪个更好,吃冰淇淋还是做送奶工?