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

Structured class approach and class inheritance #8

Open
minhtrung2606 opened this issue Sep 18, 2014 · 1 comment
Open

Structured class approach and class inheritance #8

minhtrung2606 opened this issue Sep 18, 2014 · 1 comment

Comments

@minhtrung2606
Copy link

Hi there,

One thing I've been wondering is that why should your angular design pattern apply structured class and class inheritance. Could you please arrange your time to give more detail explanation on it.

Sincerely thanks,
Trung

@tylik1
Copy link

tylik1 commented Oct 22, 2014

I'm not sure if one would need class inheritance in javascript at all. You are the only source encouraging people to use this kind of patterns in angular.
Javascript is not Java and people coming from other OOP languages try to make Javascript work as they used to do before.
The project should be loosely coupled. Otherwise you will run into serious problems when you need to rewrite some parts of the code. What is more you create lots of globals in your app, which is also a bad practice. Corret me if I'm wrong

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

No branches or pull requests

2 participants