r/programming • • Sep 01 '15

Thimble – An online code editor

https://thimble.mozilla.org/
18 Upvotes

16 comments sorted by

10

u/sztomi Sep 01 '15

There is a gazillion online IDEs these days. Does anyone actually use them for actual work?

5

u/wot-teh-phuck Sep 01 '15

As a professional developer, no, though I can understand their allure for someone who doesn't want to install the entire stack and try out things...

-2

u/XPEHBAM Sep 01 '15

Notepad++.

4

u/[deleted] Sep 01 '15

I saw this to be less of an IDE intended for professional developers and more of a teaching aid to show people HTML, CSS, and Javascript. Something closer to a friendly JSFiddle than a replacement for your development environment.

5

u/TheRealPomax Sep 01 '15 edited Sep 01 '15

Given that it bills itself as an "online code editor that makes it easy to create and publish your own web pages while learning HTML, CSS, and JavaScript", does it matter? As a professional dev I use jsbin, jsfiddle, codepen, etc. for PoC and quick play code. I've been using Thimble for a few weeks now while they were gearing up for their MVP release, and I have to say: I really like actually having a filesystem, even for simple PoC or test code, so I'm pretty sold on it.

It completely changes what I can do. Rather than jsbin or jsfiddle or codepen doing weird file concats to live-load my code, I get a real text editor (it's Brackets, just running in the browser) with a real file system (Filer, a POSIX fs running on top of indexdb!). No more "four panes and that's it" setup, but real files with my code organised properly as I'm working on it. Would I do my job in it, and only it? Heck no. But would I use it as a replacement part of the process that I used to need a Sublime Text 3, live-server, and a browser for? You bet! The fewer tools I need to get from "nothing" to PoC, the better, and unlike jsbin and friends, this new Thimble actually does that.

It gets even better because unlike a jsbin or codepen, this tool understands that I'm invariably going to move on to "real" tooling, so it comes with an export option to download all my code zipped up in its own project dir; if my PoC starts turning too serious and I need "more, real" tooling, two clicks gets me my files to keep working on as I need to.

And of course it's a lower-threshold alternative to a gh-pages branch on github. Write code, publish code, instantly live and up to date. As a professional dev who codes in his spare time for fun, I am excited.

1

u/[deleted] Sep 01 '15

Alright you've sold it to me, I assumed this was another jsfiddle or something - but having an actual file system in which you can write more complex and organized projects/examples actually sounds pretty awesome.

4

u/teiman Sep 01 '15

This one looks useful. Sorta like a jsbin or fiddle. To quickly write some tests.

0

u/[deleted] Sep 01 '15

[deleted]

6

u/teiman Sep 01 '15

Like with anything, only the best will survive. Thimble adds features that some users may miss. I personally like jsbin more than the others because is simple and works.

2

u/TheRealPomax Sep 01 '15

Except none of them do a real file system, with a real text editor. This is Adobe's Brackets, but running in the browser, with a POSIX file system (Filer) so you can actually do real coding, with as many files as are necessary to organize things properly. JSBin, JSFiddle, Codepen, none of those give me that freedom. This is pretty much a reimagining of how to do what jsbin etc. were originally thought up for, but then right.

1

u/[deleted] Sep 01 '15

I really really like this! Is simple and clean, easy to understand, and updates the preview automatically without having to change windows or anything! Saying that, I haven't tried throwing in any huge amounts of code in there, but I may start using this over things like JSFiddle and the like.

0

u/[deleted] Sep 01 '15

[deleted]

2

u/TheRealPomax Sep 01 '15

which version of Firefox? It works pretty well in every version since 39 for me. That said, might be worth reporting on their github issue tracker, https://github.com/mozilla/thimble.webmaker.org/issues

2

u/YakumoFuji Sep 01 '15

hangs forever for me too, FF31ESR (all that work allows, besides IE8)

1

u/TheRealPomax Sep 01 '15

Hm, yeah that's a fairly old version of FF (over a year old) so might not support some of the things that are necessary to make Brackets and Filer work properly... do you know why your work capped FF at 31? (there's been a TON of security fixes since then, pretty sure FF31 at this point has plenty of known explloits)

1

u/YakumoFuji Sep 02 '15

Its an ESR release. Extended Support Release.

https://www.mozilla.org/en-US/firefox/organizations/faq/

2

u/TheRealPomax Sep 02 '15

that diagram suggests 31 ESR is now out of support, and will no longer be getting security updates though, as of FF40 (released a couple of weeks ago...)

1

u/YakumoFuji Sep 02 '15

yep aug 11. were waiting for 38 to come down the pipe to all end users in the business in about a month :( we still have not migrated about 5k users off XP yet but we did go to IE8 a few months before its EOL! :) heh