Re:Multiline strings in JavaScript
by mofle on Saturday July 12, 2014 @07:57AM
(#8024342)
In Node.js you don't want a compile step. In the browser however that would probably be a better solution indeed.
[ Parent
| on HN ]
no compile step needed in nodejs. Most third party languages can hack require so using the transpiled language requires no manual compilation.
Re:Multiline strings in JavaScript
by alextgordon on Saturday July 12, 2014 @08:04AM
(#8024353)
Why don't you want a compile step?
Because a compile step is annoying when it's not strictly needed. In the browser you usually have some kind of build system for concatenation and minifying anyways.