Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I 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 )



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: