re: Challenge: Write a program that never stops VIEW POST

re: Javascript (empty statement evaluates to true so is effectively while(true)): for(;;); Super-Evil Javascript DON'T RUN THIS LOL: for(;;)alert(); ...

for(;;); endless loop is nowadays marked as [drumroll] javascript.

Kill me please.


The original post was tagged with javascript and has a bias toward javascript which is why it was tagged with that.

What language would you have picked? Because most languages do not have empty statements evaluate to true, so the block would have had to be for(;1;); which is not as neat IMO

code of conduct - report abuse