This question is an improvement I did based on recommendations from this other question: Simple object-oriented calculator Simple object-oriented calculator
Simple object-oriented calculator - part 3 Simple object-oriented calculator - part 3
This question is an improvement I did based on recommendations from this other question: Simple object-oriented calculator
This question is an improvement I did based on recommendations from this other question: Simple object-oriented calculator
Some comments:
From @tkellehe@tkellehe's recommendations:
- Separated the view part in a class of it's own. Now it has itaits own base class, and I can automatically create jQuerythe jQuery object's properties. No need to declare them.
- Create function 'override'. Now I can call higher hierarchy classes' methods.
- Used one of the 'Big Names' library to create the jQuery object's properties: Lodash.
From @Flambino@Flambino's recommendations:
From @tkellehe@tkellehe's and @Flambino@Flambino's recommendations:
fromFrom @Quill - HAT MANIACMANIAC's recommendations:
Thanks to all that contributed. :)
Some comments:
From @tkellehe recommendations:
- Separated the view part in a class of it's own. Now it has ita own base class, and I can automatically create jQuery object's properties. No need to declare them.
- Create function 'override'. Now I can call higher hierarchy classes' methods.
- Used one of the 'Big Names' library to create the jQuery object's properties: Lodash.
From @Flambino recommendations:
From @tkellehe and @Flambino recommendations:
from @Quill - HAT MANIAC recommendations:
Thanks to all that contributed. :)
From @tkellehe's recommendations:
- Separated the view part in a class of it's own. Now it has its own base class, and I can automatically create the jQuery object's properties. No need to declare them.
- Create function 'override'. Now I can call higher hierarchy classes' methods.
- Used one of the 'Big Names' library to create the jQuery object's properties: Lodash.
From @Flambino's recommendations:
From @tkellehe's and @Flambino's recommendations:
From @Quill - HAT MANIAC's recommendations:
I (hopefully) improved the code and created another question here:
Simple object-oriented calculator - part 3
Thanks to all that contributed. :)
I (hopefully) improved the code and created another question here:
Simple object-oriented calculator - part 3
Thanks to all that contributed. :)
- 145.5k
- 22
- 190
- 478