Core icon indicating copy to clipboard operation
Core copied to clipboard

Deprecated App static class.

Open ymh199478 opened this issue 4 years ago • 0 comments

App exists for historical reasons. Now we need to deprecate App class for the following reasons:

  • Static functions should be thread-safe, but App are not.
  • App objects induce developers to write code that depends on CatLib.
  • App corresponding instance may change.
  • App has gradually become God's object

ymh199478 avatar Jan 07 '20 09:01 ymh199478