5 ms·
Show HN: Lodash (js lib) playground
- CaiGengYang 9y agoIsn't ShowHN supposed to be something innovative you have made ? Did you build Lodash yourself ?
- viebel 9y agoThe innovation is related to the interactive code snippets.
- lozzo 9y agosure and it's cute that you can interact with them. but wouldn't a codepen or jsfiddle or sequentialjs snippet good enough.
- viebel 9y agoCodePen and JsFiddle don't allow you to display several code snippets at once. If you embedd a JsFiddle inside a blog post using iframes, you cannot share data and code between the snippets.
- CaiGengYang 9y agoI've been trying to get an answer about this, but no reply so far. What will make a great post on Hackernews that will give a lot of points? Lets say if I design an innovative new search engine , quantum computer or Go AI and put it here on Hackernews, will I gain lots of points ? I saw some posts where the user gained like 200 - 300 points at once.
- viebel 9y agoLodash is a modern JavaScript utility library delivering modularity, performance & extras. You have probably used Lodash in one of your projects. Wouldn’t it be great if every javascript developer could experiment Lodash in herB browser without needing to install anything or to create a JsFiddle? Today, this dream comes true. In this blog post, you can play with Lodash functions. Experiment the edge cases of the API. Compose a short gist and check if it works as expected….
- nkg 9y agoI don't want to be that guy, but the same feature is in lodash.com documentation section (see that "Try in REPL" link ?) and it's already interactiv-ish.
- chrixian 9y agoYa.. "Wouldn’t it be great if every javascript developer could experiment Lodash in the browser without needing to install anything or to create a JsFiddle?" ... Wouldn't it be great if you could do that with any NPM package? Oh ya, you can... https://npm.runkit.com/lodash https://npm.runkit.com/lodash ;D
- viebel 9y agorunkit is server side. Therefore the evaluation is not instantaneous. Also, you cannot manipulate the DOM.