Is there a name for this anti-pattern/code smell?

前端 未结 13 2441
轻奢々
轻奢々 2021-02-12 16:00

Let me start by saying that I do not advocate this approach, but I saw it recently and I was wondering if there was a name for it I could use to point the guilty party to. So h

13条回答
  •  既然无缘
    2021-02-12 16:31

    I usually pass the payload as (not const) reference and the error code as a return value.

    I'm a game developer, we banish exceptions

提交回复
热议问题