TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

An alternative Haskell home page

136 点作者 chiachun将近 11 年前

24 条评论

deathanatos将近 11 年前
Minor nit: that background on the community pane (the blurred auditorium) isn&#x27;t line art, and would be much better suited as a JPEG. I watched it load, when I loaded the page, and was a bit surprised to see it was PNG.<p>Resaving it as such in GIMP, using 90% quality cuts the size from 670kB to 110kB; reloading the JPEG and layering it on top of the PNG and flipping it on and off, I cannot visually tell the difference. Right now, it&#x27;s about 75% of the data transfer for the homepage.
hyperpape将近 11 年前
I&#x27;m biased, having learned Python first, but the biggest thing that I miss in many other languages is the single &quot;tutorial&quot; link.<p>It should exist, it should be on the front-page (Python actually fails this, but it&#x27;s on the documentation page, which is second-best), and it should be complete. Rust does surprisingly well on this point, given that it hasn&#x27;t even hit 1.0 yet. It also should be browsable (it can incorporate interactive features, but you need to be able to do it out of order).<p>Coming from the &quot;don&#x27;t make me think school&quot; you need that one link, rather than a link to a list of resources (like Ruby has). It also will be canonical and up to date, so long as nobody drops the ball. Google can&#x27;t give you that.
izietto将近 11 年前
The important features for a programming language main page to me are:<p>* Clean<p>* Code samples<p>* browser shell &#x2F; try it editor (good in Getting started page, best in the main page)<p>* Useful links (installation, documentation, syntax reference above all)<p>Some thoughts about the sites mentioned in the article:<p>* F# <a href="http://fsharp.org/" rel="nofollow">http:&#x2F;&#x2F;fsharp.org&#x2F;</a> : <i>Good</i> a clean and useful list of links <i>Bad</i> hard to find code samples; Try F# is not available for my system (Linux) and it&#x27;s not clear why<p>* Ruby <a href="http://ruby-lang.org/" rel="nofollow">http:&#x2F;&#x2F;ruby-lang.org&#x2F;</a> : I like it, nothing to add<p>* Python <a href="https://www.python.org/" rel="nofollow">https:&#x2F;&#x2F;www.python.org&#x2F;</a> : <i>Good</i> code examples are runnable inside an interactive shell... <i>Bad</i> they are not, their Interactive Shell link opens a shell which doesn&#x27;t belong to the example<p>* Rust <a href="http://www.rust-lang.org/" rel="nofollow">http:&#x2F;&#x2F;www.rust-lang.org&#x2F;</a> : <i>Good</i> maybe my preferred site since it is the cleanest one <i>Bad</i> no browser shell<p>* OCaml <a href="http://ocaml.org/" rel="nofollow">http:&#x2F;&#x2F;ocaml.org&#x2F;</a> : I like it, nothing to add<p>* Go <a href="http://golang.org/" rel="nofollow">http:&#x2F;&#x2F;golang.org&#x2F;</a> : I like it, very pragmatic<p>* Perl <a href="http://www.perl.org/" rel="nofollow">http:&#x2F;&#x2F;www.perl.org&#x2F;</a> : <i>Good</i> useful links <i>Bad</i> no code samples, no browser shell, a bit messy<p>* Scala <a href="http://scala-lang.org/" rel="nofollow">http:&#x2F;&#x2F;scala-lang.org&#x2F;</a> : <i>Good</i> good looking <i>Bad</i> no code samples, no browser shell<p>* Clojure <a href="http://clojure.org/" rel="nofollow">http:&#x2F;&#x2F;clojure.org&#x2F;</a> : <i>Good</i> clean <i>Bad</i> no code samples
keyle将近 11 年前
Looks great!<p>As feedback goes, I&#x27;d advise against leaving the lipsum on the home page of a live site.<p>After all, it&#x27;s a safe bet that a user may type haskell-lang.org in the browser and get weirded out by what looks like a site with parts in latin.<p>Maybe a &#x27;site in progress&#x27; label at the top may be better. Or simply write whatever comes to mind for each sections and rewrite them over and over as you iterate.
评论 #7814935 未加载
rjknight将近 11 年前
I am probably not the best person to judge this, but I don&#x27;t see that much of an improvement.<p>The current haskell.org home page is quite dense, with lots of links, but I quite like that. There are individual links to various Haskell community resources, including Reddit, IRC, mailing lists and RSS feeds. There&#x27;s a visually prominent Download link. There are links to useful tools, broken down into categories. Most importantly, the page begins with a concise explanation of what Haskell is, with terms such as &quot;purely functional&quot; linking to wiki definitions.<p>The replacement version doesn&#x27;t feature the explanation of what Haskell is (&quot;Advanced purely functional programming language&quot; is there, but the link to explain what &quot;purely functional&quot; means is gone). There is a code sample, but I&#x27;m not sure how useful that is (I guess is shows some basics of the syntax, but it feels mostly decorative and I&#x27;m not sure that code works well as decoration). The &quot;News&quot; link at the top might be useful, but if the News page just contains the headlines that are already on the haskell.org homepage, it doesn&#x27;t seem like there&#x27;s much value in moving that to another page.<p>The new version certainly looks better, in that Bootstrapy blurred-picture-of-a-bunch-of-people way. A responsive page design is an unambiguous win. But I can&#x27;t get past the fact that the new page contains <i>considerably less information</i> than the older one, and I&#x27;m not sure that the main problem for potential Haskell users is their inability to handle information.<p>If all of this is a little harsh then I apologise, as it&#x27;s always good to see people trying to improve stuff. However, the OP makes some criticisms of the current haskell.org page and I thought it might be worth trying to make a case for that design still being superior in some ways.
评论 #7815442 未加载
评论 #7817010 未加载
oneandoneis2将近 11 年前
I mostly like it, with one glaring exception: The auditorium photo. The instant I got to that, it stopped looking like a language homepage and started to feel like a site that was trying to sell me something.<p>Not one of the other language pages features a photo. I think might be a reason for that. I&#x27;m sure it&#x27;s wonderful from a design perspective, but it&#x27;s so far from what I expect from a technical page, I&#x27;d give up on the site on the spot if I were looking at it &quot;for real&quot;.<p>Sorry, but it really is that bad.
评论 #7816455 未加载
评论 #7816852 未加载
daGrevis将近 11 年前
I think The Racket Language (Lisp dialect) has great site too. You didn&#x27;t add it to your list. <a href="http://racket-lang.org/" rel="nofollow">http:&#x2F;&#x2F;racket-lang.org&#x2F;</a>
BasDirks将近 11 年前
&quot;My relationship to haskell.org over the years has been one of stonewalling when requesting access, of slow replies, and of bike-shedding and nitpicking when proposing designs.&quot; Sad and true.
Argorak将近 11 年前
I concur with the sentiment that the ruby homepage over-emphasizes news people get from other places. Most of the news are release announcements and CVEs where ruby-lang.org is the prime source - it is good to emphasize that.<p>Another thing I&#x27;d like to point out about ruby-lang: while the site is not as huge as other pages, it is translated into many languages and easy to change: just send a pull request. <a href="https://github.com/ruby/www.ruby-lang.org" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;ruby&#x2F;www.ruby-lang.org</a><p>(full disclosure: I am part of the german translation team)
bioneuralnet将近 11 年前
Looks incredible. As logical and self-aware as we developers presume to be, we are as susceptible to branding as anyone else. I&#x27;ve been wanting to dive into Haskell for awhile. Partly I need a project to focus on. Another lacking piece is an active (or obviously, vocally active) community (Ruby and Node excel at these, IMO). Thirdly, and perhaps sadly, is branding. You&#x27;ve got a great start. If the final site can deliver both the aesthetics <i>plus</i> community and beginner resources, I think you&#x27;ll lower the perceived barrier of entry to a lot of people, myself included.
评论 #7814832 未加载
ahuth将近 11 年前
Not only does it look great, but the logic is sound as well - the homepage is to get new users interested in it, and to get them up and running with it as easily as possible.<p>It really shows that the author did his or her homework. The analysis of other languages homepages was interesting as well.
moomin将近 11 年前
Haskell beginner. This looks like a very good thing. Step 2 would be having a tutorial that wasn&#x27;t a university course. :)
评论 #7815302 未加载
评论 #7815381 未加载
alvare将近 11 年前
Excellent choice of colours. Love it.<p>And I have absolutely no idea why some people prefer the current site to yours.<p>A great site does make the difference, don&#x27;t be so blind.
misnome将近 11 年前
I&#x27;m slightly surprised - one thing I always thought of haskell as having was a pretty download page<p><a href="http://www.haskell.org/platform/" rel="nofollow">http:&#x2F;&#x2F;www.haskell.org&#x2F;platform&#x2F;</a><p>But I guess the front page isn&#x27;t quite so nice. One thing the real page certainly has the advantage in, is the great big &quot;Download Haskell&quot; button in the middle, as opposed to a tucked away &quot;Downloads&quot; button.
kubov将近 11 年前
Sorry, but I&#x27;m the only one here who thinks that this kind of things doesn&#x27;t really matter? I honestly don&#x27;t care about code samples&#x2F;try it for on-line on the main page, especially with language of that kind, where grasping and fully understanding for example, list comprehension is going to take some time, and can&#x27;t be though by simple sieving example. Maybe I&#x27;m getting old and tired of this webdesing&#x2F;responsive thing...
gkya将近 11 年前
The first screenful of current haskell.org on my standard 15&quot; laptop contains <i>all</i> the pointers I&#x27;d need while starting out, using, and mastering the Haskell language. It works quite well with JavaScript disabled, is readable and does look like a homepage of a product of years of advanced research, in spite of the OP&#x27;s design, which is very light on information, lacking in links, and contains code for generating prime numbers using lazy evaluation, list comprehensions, a named function used as an operator via back-ticks, etcetera. In precis, OP&#x27;s design throws out of the window all the informativeness of haskell.org, and puts nothing as satisfactory in place.<p>Also, the design is not <i>nice</i> in any way; it is instead, merely <i>trendy</i> and <i>pretty</i>. A good design tells something correct about the thing it represents. OP&#x27;s design tells me that Haskell is a newfangled, superficial effort from some company, whereas the current haskell.org indeed represents, with it&#x27;s rich content and it&#x27;s <i>wikiness</i>, that Haskell is a product of community effort and research.<p>This effort of the OP is a good instance of <i>change for the sake of it</i>.
评论 #7817103 未加载
评论 #7817893 未加载
qubitcoder将近 11 年前
This is superb! I too share your dismay with the current Haskell site. I think what you&#x27;ve put together really captures the elegance of the language. It&#x27;s focused, crisp, and beautiful. Great work.
chiachun将近 11 年前
It&#x27;s also interesting to think about the points mentioned in PG&#x27;s &quot;Being Popular&quot; [1]. I think the most important one is &quot;to have a system to hack&quot;. Emacs lisp is popular because of Emacs, Javascript is popular because of the web, and how about Haskell?<p>[1] <a href="http://www.paulgraham.com/popular.html" rel="nofollow">http:&#x2F;&#x2F;www.paulgraham.com&#x2F;popular.html</a>
评论 #7814904 未加载
kevinwang将近 11 年前
That mockup looks good, and it is definitely a HUGE improvement over the existing homepage.
29decibel将近 11 年前
Looks awesome! A pure FP language deserves a &quot;Pure&quot; home page :-)
seanmcdirmid将近 11 年前
Maybe my screen is set too bright, but the 100% white bleeds into the purple. It might be better to use a 90 or 80% white for less bleeding if going with a darker purple-like background.
orsenthil将近 11 年前
Reminds me of &quot;Judging the book by it&#x27;s Covers&quot; metaphor. Great design, but content matters and rules and haskell is not short of that for serious programmers.
mazerackham将近 11 年前
wow this is amazing. Branding is so important, and Haskell having a page that looks as good as Scala&#x27;s would be huge
jfe将近 11 年前
me rikey