Re:Opal: Ruby to JavaScript Compiler
by lukasm on Thursday June 05, 2014 @09:33AM
(#7851842)
Say you have a function that validates a file written in ruby. Now you want to have client side validation in the browser for good UX. The spec for validation may be complicated or you are not sure about the implementation (no docs, person that written it just left). This is internal format with no good parsing library. I'd try it out.
[ Parent
| on HN ]
Re:Opal: Ruby to JavaScript Compiler
by dragonwriter on Thursday June 05, 2014 @10:41AM
(#7852177)
Or you're completely sure about the implementation, but it may change in the future (because requirements evolve) and you don't want to have maintain two different versions.