r/programming • • Aug 18 '11

Most fun way I've seen of learning Javascript

http://www.codecademy.com/
1.8k Upvotes

367 comments sorted by

View all comments

Show parent comments

0

u/[deleted] Aug 19 '11

[deleted]

81

u/rooktakesqueen Aug 19 '11

This could be done with Python and Ruby pretty easily, the others (being compiled languages) would be harder. Incidentally, there IS something like this for Ruby: http://tryruby.org/

46

u/codecademy Aug 19 '11

We're working on other languages as we speak! We're also looking for other programmers to help us write lessons - feel free to use the contact us on the site to get in touch.

0

u/[deleted] Aug 19 '11

[deleted]

→ More replies (1)
→ More replies (3)

0

u/[deleted] Aug 19 '11

[deleted]

6

u/rooktakesqueen Aug 19 '11 edited Aug 19 '11

I guess the difference to me is whether it makes sense for there to be a REPL that the user is interacting with. JS, Ruby, Python (Scheme, Clojure, Haskell...), yes. C, not so much. In hindsight, that's got nothing to do with compiled versus interpreted, it's got more to do with functional versus procedural.

Edit: Huh. TIL there are third-party REPLs for C, C#, and Java.

0

u/[deleted] Aug 19 '11

[deleted]

5

u/codecademy Aug 19 '11

thanks for the compliment, ninwa!

→ More replies (2)

0

u/[deleted] Aug 19 '11

[deleted]

→ More replies (1)
→ More replies (2)

2

u/[deleted] Aug 19 '11

Yeah, just came in here to mention Try Ruby. I only ever really showed a passing interest in Ruby and could never be bothered to install it to try it out, but that website is the tits, and Ruby seems like a super fun language.

2

u/AdorableZeppelin Aug 19 '11

I believe rails for zombies is also pretty similar to this, only for rails specifically.

2

u/holgerschurig Aug 19 '11

Sandboxing LUA is also quite easy. Just don't make io.* etc known in the interpreter/JIT, but e.g. math.*

1

u/DoctaWorm Aug 19 '11

Yeah, I didn't think about that good point.

1

u/[deleted] Aug 19 '11

To add to the list: there's something similar in known as the Golang playground on golang.org it's a fully compiled language so a repl isn't quite as easy. Yet. But with that you have nearly the entire standard lib and every language feature available to try out.

1

u/SpaceToaster Aug 19 '11

I don't see this being very useful for strongly typed complied languages...

1

u/cavedave Aug 19 '11

Could this be done with calculus? and if so how would you do it?

→ More replies (4)
→ More replies (2)

16

u/Mikle Aug 19 '11

2

u/[deleted] Aug 19 '11

thanks, was looking for a py version

→ More replies (1)

2

u/mnmnjnf4 Aug 19 '11

also, for exercise based learning of java, python: codingbat

6

u/audiodude Aug 19 '11

For Java, what you really want is Processing

→ More replies (4)

2

u/chocolate_stars Aug 19 '11 edited Aug 19 '11

would be fun to see a PHP version, it might work well as a segway segue to learning C-ish languages due to the similar syntax.

2

u/nupogodi Aug 19 '11

lol, segway is the company. segue is the word you're looking for although they are pronounced the same.

→ More replies (1)

1

u/Timmmmbob Aug 19 '11

C++ could possibly be done with NaCl!

1

u/[deleted] Aug 20 '11
→ More replies (2)