News for hackers. Stuff that matters.
Re:Moving Beyond the OOP Obsession by scomment on Monday March 28, 2016 @11:39AM (#11374885)
> Why would you want to cast mixer to something else?

Did you ever heard about interfaces? You can have a IMixer interface, a Mixer baseclass and some concrete mixer classes depending on your task. Like null-mixer for mocking, software mixer for legacy computers, hardware mixer with GPU support, etc. Use your imagination, Luke!

Re:Moving Beyond the OOP Obsession by chipsy on Monday March 28, 2016 @12:53PM (#11375452)
Or you could just have data. The behavior of mixing is not going to change because of those things.