随笔 - 505  文章 - 1034  trackbacks - 0
<2009年9月>
303112345
6789101112
13141516171819
20212223242526
27282930123
45678910


子曾经曰过:编程无他,唯手熟尔!

常用链接

留言簿(94)

随笔分类(649)

随笔档案(505)

相册

BCB

Crytek

  • crymod
  • Crytek's Offical Modding Portal

Game Industry

OGRE

other

Programmers

Qt

WOW Stuff

搜索

  •  

积分与排名

  • 积分 - 894866
  • 排名 - 14

最新随笔

最新评论

阅读排行榜

评论排行榜

重剑点评:
    公司大了这种问题就出现了!



 惊爆Vista开发小内幕:仅关机菜单就耗费了一人年    CSDN blog推出文章指数概念,文章指数是对blog文章综合评分后推算出的,综合评分项分别是该文章的点击量,回复次数,被网摘收录数量,文章长度和文章类型;满分100,每月更新一次。
题目稍微哗众取宠了一些,请看官莫怪。我这是在练习新闻笔法,呵呵,:O

本来以为大名鼎鼎的Joel Spolsky(对,就是那个《Joe说软件》的Joel)对Vista的有趣批评大概是这两天最有趣的帖子了。



没想到很快因此而引出的关于Vista臃肿的关机菜单的一点内幕趣闻更让人绝倒。

前微软人Joel的文章指出,Vista光一个关机菜单就有7个选项,实在有违潮流。而另一个前微软人Moishe Lettvin则坦诚相认,说这个菜单就是他花了一年设计的,用了200行代码。他还大倒苦水,说这个特性牵扯了Windows Shell组、Windows Kernel组和他所在的Windows Mobile PC User Experience组,一个组差不多都有8个人:
# 1 program manager
# 1 developer
# 1 developer lead
# 2 testers
# 1 test lead
# 1 UI designer
# 1 user experience expert


而每个8人的小组都有6层管理人员在上面,最后还有一个共同的大经理(Shared Manager)。因此总共算下来,有43个人与关机菜单这个特性有关!!!这之间的扯皮和冲突可想而知,集成周期最后变成了几个月。

Joel此后又发了一个帖子说,90年代微软曾将IBM的
开发团队,尤其是失败的OS/2团队(微软曾经与之合作开发,但中途退出,然后推出了NT,成就一代霸业)作为前车之鉴,总结出 经验教训。而从1991年到2006年不过15年,微软也重蹈覆辙,用了5年才非常混乱地完成了旗舰产品的更新。

如果Software Developement杂志还在出的话,这绝对能入选新的软件开发恐怖故事了。不知道Dr. Dobb's Journal是否还有可能容纳这样有趣的文章。

翻译这些,绝不是想说微软这样一个伟大软件公司的坏话。事实上,我一直认为微软的存在是目前软件开发界革新的动力源泉之一,要么是微软自己驱动的,要么是为了反微软而驱动的。而且我深信微软有突破自身的决心和能力。

其实那位揭内幕的现在已经到Google的
Moishe老兄,也在今天补充说,他所共事的老同事中绝对没有笨蛋,问题出在体制上。而且Vista的规模也使微软内部的体制和文化问题放大了。他相信微软正在改变。不过,他也强调,在Google,一切都不相同,并给出了一位同事关于敏捷开发的文章链接(文章名为”好的敏捷与坏的敏捷“)。

看来家家都有难念的经,几年后的世界是什么样子,恐怕谁也说不清楚。

从软件工程的角度看,敏捷方法的大行其道,看来是必然的。Moishe就为微软辩护说,微软内部也有小组是用Scrum的……。

对 了,Moishe还有一点爆料,说他们设计Vista时,手头都有一台苹果的Mac作为榜样,呵呵,原来那些传说都是真的。几年前,在手机正在拼长相甚至 到了镶金挂玉的时候,我曾经和苹果中国的人说,你们外观设计这么强,赶快做手机啊。现在这真的成了现实(当然与我的建议并无关系)。

从目前图书的销售来看,程序设计、数据库这些硬知识领域已经远不及以Photoshop、3dmax主打的图形图像领域了。未来,也许真的是属于搞设计的那些人?


下面是英语原文:

Choices = Headaches


This item ran on the Joel on Software homepage on Tuesday, November 21, 2006

I'm sure there's a whole team of UI designers, programmers, and testers who worked very hard on the OFF button in Windows Vista, but seriously, is this the best you could come up with?

Image of the menu in windows vista for turning off the computer

Every time you want to leave your computer, you have to choose between nine, count them, nine options: two icons and seven menu items. The two icons, I think, are shortcuts to menu items. I'm guessing the lock icon does the same thing as the lock menu item, but I'm not sure which menu item the on/off icon corresponds to.

On many laptops, there are also four FN+Key combinations to power off, hibernate, sleep, etc. That brings us up to 13 choices, and, oh, yeah, there's an on-off button, 14, and you can close the lid, 15. A total of fifteen different ways to shut down a laptop that you're expected to choose from.

The more choices you give people, the harder it is for them to choose, and the unhappier they'll feel. See, for example, Barry Schwartz's book, The Paradox of Choice. Let me quote from the Publishers Weekly review: “Schwartz, drawing extensively on his own work in the social sciences, shows that a bewildering array of choices floods our exhausted brains, ultimately restricting instead of freeing us. We normally assume in America that more options ('easy fit' or 'relaxed fit'?) will make us happier, but Schwartz shows the opposite is true, arguing that having all these choices actually goes so far as to erode our psychological well-being.”

The fact that you have to choose between nine different ways of turning off your computer every time just on the start menu , not to mention the choice of hitting the physical on/off button or closing the laptop lid, produces just a little bit of unhappiness every time.

Can anything be done? It must be possible. iPods don't even have an on/off switch. Here are some ideas.

If you've spoken to a non-geek recently, you may have noticed that they have no idea what the difference is between "sleep" and "hibernate." They could be trivially merged. One option down.

Switch User and Lock can be combined by letting a second user log on when the system is locked. That would probably save a lot of forced-logouts anyway. Another option down.

Once you've merged Switch User and Lock, do you really need Log Off? The only thing Log Off gets you is that it exits all running programs. But so does powering off, so if you're really concerned about exiting all running programs, just power off and on again. One more option gone.

Restart can be eliminated. 95% of the time you need this it's because of an installation which prompted you to restart, anyway. For the other cases, you can just turn the power off and then turn it on again. Another option goes away. Less choice, less pain.

Of course, you should eliminate the distinction between the icons and the menu. That eliminates two more choices. We are down to:

Sleep/Hibernate
Switch User/Lock
Shut Down

What if we combined Sleep, Hibernate, Switch User and Lock modes? When you go into this mode, the computer flips to the "Switch User" screen. If nobody logs on for about 30 seconds, it sleeps. A few minutes later, it hibernates. In all cases, it's locked. So now we've got two options left:

(1) I am going away from my computer now
(2) I am going away from my computer now, but I'd like the power to be really off

Why do you want the power off? If you're concerned about power usage, let the power management software worry about that. It's smarter than you are. If you're going to open the box and don't want to get shocked, well, just powering off the system doesn't really completely make it safe to open the box; you have to unplug it anyway. So, if Windows used RAM that was effectively nonvolatile, by swapping memory out to flash drives during idle time, effectively you would be able to remove power whenever you're in "away" mode without losing anything. Those new hybrid hard drives can make this super fast.

So now we've got exactly one log off button left. Call it "b'bye". When you click b'bye, the screen is locked and any RAM that hasn't already been copied out to flash is written. You can log back on, or anyone else can log on and get their own session, or you can unplug the whole computer.

Inevitably, you are going to think of a long list of intelligent, defensible reasons why each of these options is absolutely, positively essential. Don't bother. I know. Each additional choice makes complete sense until you find yourself explaining to your uncle that he has to choose between 15 different ways to turn off a laptop.

This highlights a style of software design shared by Microsoft and the open source movement, in both cases driven by a desire for consensus and for "Making Everybody Happy," but it's based on the misconceived notion that lots of choices make people happy, which we really need to rethink.




About the Author: I'm your host, Joel Spolsky, a software developer in New York City. Since 2000, I've been writing about software development, management, business, and the Internet on this site. For my day job, I run Fog Creek Software, makers of FogBugz - the smart bug tracking software with the stupid name, and Fog Creek Copilot - the easiest way to provide remote tech support over the Internet, with nothing to install or configure.



posted on 2007-09-17 00:15 七星重剑 阅读(1061) 评论(8)  编辑 收藏 引用 所属分类: OS -- Vista

FeedBack:
# re: 把我笑死了:惊爆Vista开发小内幕:仅关机菜单就耗费了一人年  2007-09-18 12:12 jeson
one year ago???
=S:中国使用前沿技术软件要迟一年?
汗.....  回复  更多评论
  
# re: 把我笑死了:惊爆Vista开发小内幕:仅关机菜单就耗费了一人年  2007-10-23 20:24 秒大刀
UI是一门很深的学问。  回复  更多评论
  
# re: 把我笑死了:惊爆Vista开发小内幕:仅关机菜单就耗费了一人年  2007-10-24 09:14 重剑
@秒大刀
严重同意   回复  更多评论
  
# re: 把我笑死了:惊爆Vista开发小内幕:仅关机菜单就耗费了一人年  2012-03-16 19:43 essay writing services
this post is really hot thing and I know that men would buy essay or custom essays to know more a bit only about it from the essay writing service.   回复  更多评论
  
# re: 把我笑死了:惊爆Vista开发小内幕:仅关机菜单就耗费了一人年  2012-10-04 16:33 buy an essay
To this day have no bright idea where to look for good term paper writing help? Listen to our proposal and view this site (premiumqualityessays.com) you will 100% get excellent help with research paper.  回复  更多评论
  

只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理