Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should we use function in this factory ? #73

Open
swouf opened this issue Jan 23, 2023 · 0 comments
Open

Should we use function in this factory ? #73

swouf opened this issue Jan 23, 2023 · 0 comments
Labels
question Further information is requested

Comments

@swouf
Copy link
Contributor

swouf commented Jan 23, 2023

          I am not sure, but maybe you do not need the function, as you are likely to always return the same value. The others are function so their return value is given when they are called and not the value that they have when the factory is created.

Originally posted by @spaenleh in #69 (comment)

@swouf swouf added the question Further information is requested label Jan 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant