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

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

求某人在打鱼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循环。

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

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版本的自动化。 告别远程桌面,立即开始自动化!

关于斯科特 (About Scott)

Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. He is a failed stand-up comic, a cornrower, and a book author.

斯科特·汉塞尔曼(Scott Hanselman)是前教授,前金融首席架构师,现在是演讲者,顾问,父亲,糖尿病患者和Microsoft员工。 他是一位失败的单口相声漫画家,一个玉米种植者和一本书的作者。

求某人在打鱼c_我陷在某人的for循环中
求某人在打鱼c_我陷在某人的for循环中
求某人在打鱼c_我陷在某人的for循环中
About   关于 Newsletter 时事通讯
Hosting By 主持人
求某人在打鱼c_我陷在某人的for循环中

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

求某人在打鱼c