3 ms·
A sound wave may not be an object, but it is a noun and has properties such as frequency and amplitude. Though I could imagine defining a sound wave as a functi
by cpeterso 15y ago
A sound wave may not be an object, but it is a noun and has properties such as frequency and amplitude. Though I could imagine defining a sound wave as a function.
- Rusky 15y agoA sound wave could be considered an object depending on your problem domain. The point is that operations should be able to work with anything that has the operations it needs defined. A sound wave could have several operations defined on it, including one(s) that let it behave as a function.