4 ms·
Cool idea! I like the overloaded operators.
by prezjordan 12y ago
Cool idea! I like the overloaded operators.
- mobiuscog 12y agoI would if they were consistent, but having some to change volume and some to change repeats is somewhat jarring.
- jiaaro 12y agoI almost used a decibel type but in practice, when you write my_sound + 6 it feels pretty natural to think about that as "add 6dB" and my_sound * 3 as "my_sound 3 times" Also, since those are the only odd overloads, it is quite easy to learn (at least I think so, but I'm the author =P )