Created
March 19, 2020 07:57
-
-
Save xb4dc0d3/061452a4c952ddd7f917f7bcc5cff1c3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Bad | |
class Invitation: | |
def handle(self) -> None: | |
# Do something... | |
message = Invitation() | |
# handle untuk apa? | |
message.handle() | |
# Good | |
class Invitation: | |
def send(self) -> None: | |
''' | |
Kirim invitation | |
''' | |
message = Invitation() | |
message.send() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment