chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] Homepage design proposal - part 2


From: Stephen Eilert
Subject: Re: [Chicken-users] Homepage design proposal - part 2
Date: Wed, 28 Jan 2015 14:37:54 -0200


On Sat, Jan 24, 2015 at 1:37 PM, Daniel Ziltener <address@hidden> 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:


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(*).


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


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


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:


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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]