Skip to content

Instantly share code, notes, and snippets.

@tomsoderlund

tomsoderlund/blog.md Secret

Created Jun 8, 2017
Embed
What would you like to do?

Pocket Coder – coding JavaScript on the go

I made a trip to Italy recently, and on the plane I started thinking of a coding problem I was working on at Weld.

I had a rough solution, but I wanted to express it as an algorithm. I didn’t want to boot up my laptop and go into full coding mode—I just wanted to play around with this algorithm.

I started thinking about a small phone app where I could try things out in JavaScript without having my computer around. Something like JavaScript Anywhere, but with more focus on JavaScript algorithms rather than a full web app.

So, when I got to my hotel, I started coding on a small app to do just that. The result: Pocket Coder:

Pocket Coder

I tried the first version on my return flight to Stockholm a few days later. It was rough but did what it was designed to do: allowing me to test and tweak my algorithm without opening my computer.

Pocket Coder comes loaded with Lodash and JQuery, which are tools I use on a daily basis.

It also has a small library of frequently used code snippets.

Pocket Coder

Finally, it comes with a built-in SVG canvas (powered by SVG.js) for easy drawing.

SVG drawing

Download the app and let me know what you think!

@renanborgez

This comment has been minimized.

Copy link

@renanborgez renanborgez commented Jun 8, 2017

Thank you for sharing this brillhant idea, i always imagined code on my phone ....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment