V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
fanzeyi
V2EX  ›  Python

Dear Python, Why Are You So Ugly?

  •  
  •   fanzeyi ·
    fanzeyi · 2012-04-26 23:38:40 +08:00 · 4153 次点击
    这是一个创建于 4353 天前的主题,其中的信息可能已经有所发展或是发生改变。
    http://grokcode.com/746/dear-python-why-are-you-so-ugly/

    确实. 虽然 Python 也有一些不错的页面( e.g. pocoo ). 但是还是比 Ruby 要少ww

    明明是一门如此漂亮的语言.
    14 条回复    1970-01-01 08:00:00 +08:00
    SErHo
        1
    SErHo  
       2012-04-26 23:41:39 +08:00   ❤️ 1
    我倒觉得这是因为使用这两种语言的人风格不一样。
    reus
        2
    reus  
       2012-04-27 03:43:52 +08:00
    http://www.ruby-doc.org/core-1.9.3/

    我就不吐槽这种页面的usability和representation了
    Livid
        3
    Livid  
    MOD
       2012-04-27 03:45:13 +08:00
    Battelog is created with Python:

    http://battlelog.battlefield.com/
    reus
        4
    reus  
       2012-04-27 03:46:25 +08:00
    s/representation/presentation - -
    tioover
        5
    tioover  
       2012-04-27 09:07:01 +08:00
    实用vs优雅?
    stingh711
        6
    stingh711  
       2012-04-27 09:11:01 +08:00
    我觉得django的网站还挺好看的啊。还有flask系列的,都简洁清爽。
    vicalloy
        7
    vicalloy  
       2012-04-27 09:17:35 +08:00
    我觉得更多的是历史原因。
    ruby是伴随着web2.0兴起的,可以说ruby的流行很大程度上是因为ROR。
    python的应用场景则要广很多。
    相信随着python在web领域的发展,拥有优秀设计的python网站也会越来越多(PS:比如v2ex)。
    est
        8
    est  
       2012-04-27 09:25:21 +08:00
    ruby就是一群hipster自认为很酷的家伙。而且那些作为对比的python网站貌似很偏门。
    alexzhan
        9
    alexzhan  
       2012-04-27 09:55:38 +08:00
    这种对比确实很片面,很无聊。
    dofine
        10
    dofine  
       2012-04-30 20:06:52 +08:00
    shellex
        11
    shellex  
       2012-05-10 17:34:06 +08:00
    看标题我以为是指code style的养眼程度...

    我发现我错了
    fanzeyi
        12
    fanzeyi  
    OP
       2012-05-10 17:36:49 +08:00
    @shellex Code Style 的话 Python 完胜= =
    shellex
        13
    shellex  
       2012-05-10 17:40:21 +08:00
    @fanzeyi 关键是介面的美观程度和Py, Ruby有毛线关系阿!我毕设只用了愚蠢的Java Servlets介面一样很美...
    kebot
        14
    kebot  
       2012-05-11 12:14:26 +08:00
    Ruby 社区往往更重视前端, 例子是 Sass, CoffeeScript的应用往往都来自ruby社区... Twitter Bootstrap这种东西也算半个ruby社区的东西吧...
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3319 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 11:25 · PVG 19:25 · LAX 04:25 · JFK 07:25
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.