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

    T("+", T("*", c_env = T("adsr", 20, 1740, 0.5),
                       T("+", c1 = T("konami"),
                              c2 = T("konami"),
                              c3 = T("konami"))),
                T("*", b_env = T("adsr", 0, 220),
                       b0 = T("pulse"))).play();
This is what happens when your programming language does not let you specialize math operations, or you lack a decent macro system.


Not necessarily. You could write nice libraries utilizing the object notation and method chaining, just look at jQuery.




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

Search: