Skip to content

Conversation

@cezarywojcik
Copy link
Contributor

@cezarywojcik cezarywojcik commented Aug 28, 2016

See diff for new rules.

Preferring static to class for several reasons:

  1. Static dispatch is technically faster than dynamic dispatch
  2. Given the above, it makes sense to pick static over class so that we consistently use one over the other.
  3. This way, usage of class will indicate that the intent of that function is to be overridden, which can be useful information at-a-glance.
@drumnkyle drumnkyle merged commit 923745d into linkedin:master Aug 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants