[removed] inline functions vs predefined functions

前端 未结 13 1947
心在旅途
心在旅途 2020-12-02 11:00

Can any body throw me some arguments for using inline functions against passing predefined function name to some handler.

I.e. which is better:

13条回答
  •  难免孤独
    2020-12-02 11:40

    An inline function avoids namespace pollution and predefined functions have higher reuse. I think you could make cases where each is appropriate.

提交回复
热议问题