3 ms·
We're going to include pure JavaScript examples. I understand the confusion that comes with the fact that most examples are CoffeeScript. There's nothing that
by andrzejkrzywda 14y ago
We're going to include pure JavaScript examples. I understand the confusion that comes with the fact that most examples are CoffeeScript.
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.
- __herson__ 14y agoSo, name it "hexagonal.coffee" instead.
- irickt 14y agoIf 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.
- laurent123456 14y agoFollowing this logic, they could have called it hexagonal.asm since it's eventually run as binary code.
- laurent123456 14y agoIt 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).