Inheritance by dominance - is it really bad?

前端 未结 3 1897
粉色の甜心
粉色の甜心 2021-02-12 12:02

I\'m one of those people that has to get their code to compile with 0 warnings. Normally I respect the compiler and if it issues me a warning I take it as a sign that I should t

3条回答
  •  感情败类
    2021-02-12 12:23

    As far as the runability of your code is concerned, it is just there to remind you that Bar is the dominant implementation of foo. It is just there to inform you, it's not really a warning, so that if you're debugging and think it's Baz you don't pull your hair out :).

提交回复
热议问题