Live data from Hacker News

Python.org Redesign Preview

preview.python.org

21–30 of 165 posts

Re: Python.org Redesign Preview

#21
I suggest to add a slice example in the first page since it quickly makes obvious how Python can help you in writing less code.

It would be interesting to do A/B testing with different code snippets.

Re: Python.org Redesign Preview

#22
Looks nice, but my first thought when I looked at the code example:

  1  >>> l = ['spam', 'ham', 314, 23]
was "wait, how are they assigning a list to the number 1? How is that possible? Oh... that's an l". (Not a fan of that. I'm half blind (figuratively) so these things confuse me.)

Re: Python.org Redesign Preview

#23
post #5

Great work! Some thoughts from a purely personal perspective, take them as you will: - I often refer non-programmers to python.org when they ask what that "Python" thing I do all day is. If this is a significant portion of your traffic, I might move the "Python is a programming language..." bit higher up the page. - "Integrate systems more effectively" doesn't mean much to me, but if the landing page is a tool for de…

"I might move the "Python is a programming language..." bit higher up the page."

If you look at the site with a text browser like lynx then this is even more important. Lots of menus and other things that assume you know what's going on, then finally on the next page break or two an explanation. Make that all but topmost.

(And y'all ought to view your sites with a text browser once in awhile, it will give you a rough idea of the experience of people using browsers for visual and other impairments.)

Re: Python.org Redesign Preview

#25
Love the design and architecture, and really love the success stories. I remember struggling to sell a dated financial enterprise company on the benefits of Python, and those case studies would have really helped.

Re: Python.org Redesign Preview

#27

Looks nice, but my first thought when I looked at the code example: 1 >>> l = ['spam', 'ham', 314, 23] was "wait, how are they assigning a list to the number 1? How is that possible? Oh... that's an l". (Not a fan of that. I'm half blind (figuratively) so these things confuse me.)

Yeah, please use a slightly longer variable name.

Re: Python.org Redesign Preview

#28

Looks nice, but my first thought when I looked at the code example: 1 >>> l = ['spam', 'ham', 314, 23] was "wait, how are they assigning a list to the number 1? How is that possible? Oh... that's an l". (Not a fan of that. I'm half blind (figuratively) so these things confuse me.)

It's worse than that because the PEP 8 sytle guide specifically mentions to avoid using l as a name!

http://www.python.org/dev/peps/pep-0008/#names-to-avoid

Re: Python.org Redesign Preview

#29

Looks nice, but my first thought when I looked at the code example: 1 >>> l = ['spam', 'ham', 314, 23] was "wait, how are they assigning a list to the number 1? How is that possible? Oh... that's an l". (Not a fan of that. I'm half blind (figuratively) so these things confuse me.)

Yup, we'll change that. All of this content is dummy preview content at this point.

Re: Python.org Redesign Preview

#30

Looks nice, but my first thought when I looked at the code example: 1 >>> l = ['spam', 'ham', 314, 23] was "wait, how are they assigning a list to the number 1? How is that possible? Oh... that's an l". (Not a fan of that. I'm half blind (figuratively) so these things confuse me.)

Yeah, that example is a placeholder; we plan on replacing it with something awesome. Thanks!
Post reply on HN