According to Can Halting be considered output? and maybe some other links, programs should halt. However in some cases making program halt is easier(save the infinite loop in code-golf, etc.) but making it almost impossible to see the result; or for some environment there's just no such thing "halt". What's the standard in this case?
1 Answer
Yes
I'd expect that the output is displayed on the screen in that case.
In fact most Vim submissions on this site doesn't halt after execution (the process doesn't stop)
However, in common cases, the output won't "disappear" when the program is ended if it's run in a console.
-
\$\begingroup\$ Yet as shown allowing not-halt may give unfair advantages to these lang? \$\endgroup\$– l4m2Apr 28, 2019 at 3:53