Replies: 2 comments 1 reply
-
Constructors are pretty limited. For example, you can't return a |
Beta Was this translation helpful? Give feedback.
1 reply
-
@hymair you can check creational patterns and their benefits here: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
As the title says. I am just not sure what the difference would be in doing
Entity.create(...)
andnew Entity(...)
?Beta Was this translation helpful? Give feedback.
All reactions