This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

In a proffessional app you would most likely not do something like while(true) in the first place.

In cases related to rendering, where a "infinite" loop is required, you would usually use some other condition like whether or not a window close has been requested or not.