求某人在打鱼c_我陷在某人的for循环中

求某人在打鱼c

求某人在打鱼c

This is a rant. More and more I'm finding myself using mobile devices, often on my iPhone, but also desktop applications in Windows and I'll push a button and find myself, as user, stuck inside your for loop.

这是一个咆哮。 我越来越发现我经常在iPhone上使用移动设备,但在Windows中也使用台式机应用程序,我将按一下按钮,发现自己作为用户陷入了for循环。

Not Responding

Have you felt like this? The application locks up and you're stuck. Maybe it's Outlook saying Not Responding as the Curtain of Patience (tm) comes down, or perhaps it's Facebook on your iPhone updating Contact photos. Regardless, it's a for loop over a thousand or a million, or perhaps just one more data item than the developer tested, and you're stuck. Do you shut down and corrupt the data store? Do you wait? How long DO you wait?

你有这种感觉吗? 应用程序锁定,您陷于困境。 可能是Outlook在“耐心窗帘(tm)”下降时说“不响应”,或者是iPhone上的Facebook正在更新“联系人”照片。 无论如何,这是一个超过一千或一百万的for循环,或者可能只是比开发人员测试的数据多一个数据项,您陷入了困境。 您是否关闭并损坏了数据存储? 你还在等吗你要等多久?

Asynchronous programming can be hard, but the tools and languages support it, my friends.

朋友们,异步编程可能很难,但是工具和语言支持它。

Please don't block the UI.

请不要阻止用户界面。

Have you seen this? Why does it happen? What are you doing to avoid blocking calls? Perhaps it's a better UX pattern, or perhaps it's Reactive Programming?

你见过这个吗? 为什么会发生? 您正在做什么以避免阻塞电话? 也许这是一个更好的UX模式,或者是React式编程?

Sound off in the comments!

在评论中听起来不错!

相关链接 (Related Links)

Sponsor: Big thanks to my friends at Octopus Deploy. They are the deployment secret that everyone is talking about. Using NuGet and powerful conventions, Octopus Deploy makes it easy to automate releases of ASP.NET applications and Windows Services. Say goodbye to remote desktop and start automating today!

赞助商:非常感谢我的朋友在Octopus Deploy。 它们是每个人都在谈论部署秘密。 使用NuGet和强大的约定,Octopus Deploy可以轻松实现ASP.NET应用程序和Windows Services版本的自动化。 告别远程桌面,立即开始自动化!

翻译自: https://www.hanselman.com/blog/im-stuck-in-someones-for-loop

求某人在打鱼c

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值