Another endless loop: Until the user has picked a suitable track number, I simply can't go on.
另一个无穷循环:在用户选择出合适的曲目数量之前,完全不能继续下去。
This is an endless loop that reflects how the user often will cycle between choices until he's made only one.
这是个无穷的循环,反映出用户在做出最后的选择之前经常是如何地犹豫不决。
If you allocate objects in a user interface loop, you will force a periodic garbage collection, creating little "hiccups" in the user experience.
如果在用户界面周期内分配对象,就会强制一个周期性的垃圾回收,给用户体验增加小小的停顿间隙。
I probably whip out a do while loop very rarely, but very often when programming games or any program that takes user input and has to check that user input and yell at the user if they're messing with you or aren't providing what's expected.
我可能很少用do,while,循环,但常常是,当编制程序游戏或需要用户输入的程序是,需要检查用户的输入并提醒用户,如果他们干扰了你,或没有提供所期望的输入。
应用推荐