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

Constructors question #132

Open
jason-engage opened this issue Feb 23, 2018 · 5 comments
Open

Constructors question #132

jason-engage opened this issue Feb 23, 2018 · 5 comments

Comments

@jason-engage
Copy link
Contributor

Hey Fabian, what's your opinion on making constuctors?

At the moment, we have a series of parameters - and they are getting out of order.

Should a constructor just accept an array instead? Should that be how 2.0 works?

@wittfabian
Copy link
Contributor

Very good question.

@wittfabian
Copy link
Contributor

Should we tag the current status as a new version?

@Yiidiir
Copy link
Contributor

Yiidiir commented Mar 2, 2018

@wittfabian I believe that we should rewrite the code, tbh an important thing to do is parsing the request array within the class and fetch the data accordingly. It's super messy and weird to use arrays with index 0 to access data etc..

@arsengoian
Copy link
Contributor

Are you going to maintain compatibility in class constructors?

@jason-engage
Copy link
Contributor Author

jason-engage commented Mar 4, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants