No problem - yes, adding another function and deprecating the other is definitely an option... and having a Pin.on(...) is a nice idea that is far more JS-ish.
However I have to be careful - especially on the original Espruino board the binary only just fits in available flash. If adding more functions means I then can't add some other feature that people wanted, is it really worth it?
Espruino's been going for a while now (3 years?) and has been used by thousands of people. You're the first one to complain about this, so unless loads more people have a problem with it I'm not sure it warrants such drastic action - especially as it's dead easy to work around.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
No problem - yes, adding another function and deprecating the other is definitely an option... and having a
Pin.on(...)
is a nice idea that is far more JS-ish.However I have to be careful - especially on the original Espruino board the binary only just fits in available flash. If adding more functions means I then can't add some other feature that people wanted, is it really worth it?
Espruino's been going for a while now (3 years?) and has been used by thousands of people. You're the first one to complain about this, so unless loads more people have a problem with it I'm not sure it warrants such drastic action - especially as it's dead easy to work around.