On Sat, Jan 24, 2015 at 1:37 PM, Daniel Ziltener <[email protected]>
wrote:

> > Maybe three or four (or more!) samples depicting typical features of
> > CHICKEN. These samples could be easily "flipped" through with a few
> > navigation buttons, they would carry a clear title per sample and a few
> > comments inline of what this code is about. Programmers love to see
> > beautiful code...right?
>
> Right! I haven't seen this on pretty much any other language page yet! Most
> have a meaningless "Hello World"-code at most that doesn't say much.


Except for Python. The page is clean, pretty (IMHO) and does the job fine.
The samples are pretty small and not full programs. But all do link to the
relevant documentation section, so I guess that's useful. See:

https://www.python.org/

Which also has an interactive shell.

Scala sort of does this too (click on the boxes) below the distracting
over-the-top background imagery, section called "Scala in a Nutshell" which
often goes below the fold:

http://www.scala-lang.org/

Elixir doesn't have samples that you can flip, but you can just scroll the
page:

http://elixir-lang.org/

Go mixes the code sample and the interactive shell, has a few samples you
can load using the combobox. Page looks horrible but is works(*).

https://golang.org/

Julia´s page looks like a blog post. However, it has some pretty convincing
screenshots and code samples:

http://julialang.org/

Rust also has a pretty big code sample on its front page, that you can edit
and run.

http://www.rust-lang.org/

I was going to include Dart, but it has a screenshot of what seems to be an
Eclipse-based editor, so I'll spare you all.

Also, in case people have forgotten about it, there's Racket's homepage:

http://racket-lang.org/

With code examples that you can flip, with an "explain!" link explaining
each of them. No Daleks tho.


— Stephen

(*) Interestingly, these pages seem to reflect some of the underlying
language traits.
_______________________________________________
Chicken-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to