Re:Non-framework approach to JavaScript apps - hexagonal.js
by laurent123456 on Friday February 22, 2013 @12:47PM
(#5265488)
It would be interesting to see at least a simple Hello World example in JavaScript, but I suspect the library is too dependent on CoffeeScript, and a compatible JS code would be too convoluted (I'd be glad to be proven wrong though).
Re:Non-framework approach to JavaScript apps - hexagonal.js
by __herson__ on Friday February 22, 2013 @10:50AM
(#5264785)
So, name it "hexagonal.coffee" instead.
Re:Non-framework approach to JavaScript apps - hexagonal.js
by irickt on Friday February 22, 2013 @11:26AM
(#5265050)
If a version of hexagonal targeted java then it would be "hexagonal.java". But .coffee and .js target the same "binary" so .js is the correct designation. It's about the runtime not the language.
Re:Non-framework approach to JavaScript apps - hexagonal.js
by laurent123456 on Friday February 22, 2013 @12:43PM
(#5265465)
Following this logic, they could have called it hexagonal.asm since it's eventually run as binary code.
There's nothing that makes this approach impossible to use with JS. The code samples are Coffee, because that's what we write our production apps in.