A module is an organizational unit of code, and usually represents code designed to do one task, or one function. If you store like-purposed code in its own bundle, you will always know where to come looking for it when bugs come up in the future.
The Value of Interfaces Part 2
In the last article I wrote about interfaces and polymorphism, I reviewed their definition, usefulness, and some basic strategies of implementation. In this article, I show some examples of powerful interfaces in action.
For the past two months I have been experimenting with growing vegetables, specifically using hydroponic methods. Although we live in only a relatively small one-bedroom apartment, my unspoken goal has been to see how much produce can be squeezed out of the small square footage we’ve got available.
Scopes in Angular
A scope in Angular is a glue layer between controllers and views. The purpose of the scope is principally to watch properties and propagate events. For those who have used Angular, the scope is recognizable as the $scope argument that is often passed into controllers.