3 ms·
You can look at the source just like any other js project. It might not look totally clean as a hand-written project, but there are absolutely worse things than
by ricardobeat 14y ago
You can look at the source just like any other js project. It might not look totally clean as a hand-written project, but there are absolutely worse things than looking at compiled coffeescript (cough lodash https://github.com/bestiejs/lodash/blob/master/lodash.js#L383-L442 https://github.com/bestiejs/lodash/blob/master/lodash.js#L38...)
- k3n 14y agoTo be fair, that's a template you linked... Also, why go out-of-your-way to bash another project? Why didn't you link the hexagonal source you mentioned, which would have been productive, instead of lodash?
- ricardobeat 14y agoThat template is source code for a function, it becomes the body of many lodash methods using eval. It's not out of my way, it sits right on top of my personal "ugly code" list; couldn't think of a better (worse?) example. As I understand it there is no hexagonal source, it's just an architecture.