Skip to content

Instantly share code, notes, and snippets.

@tomsoderlund
Created June 8, 2017 07:21
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tomsoderlund/8fec3f138d9c4d9da084d37811798fb2 to your computer and use it in GitHub Desktop.
Save tomsoderlund/8fec3f138d9c4d9da084d37811798fb2 to your computer and use it in GitHub Desktop.

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
Copy link

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