Infinite loops are a very bad practice in Embedded programming, One should never use an loop statement which runs forever unless it is the main system loop. Programmers often use statements like
Read this post on raviyp.com