-1
\$\begingroup\$

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?

| |
\$\endgroup\$
4
\$\begingroup\$

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.

| |
\$\endgroup\$
  • \$\begingroup\$ Yet as shown allowing not-halt may give unfair advantages to these lang? \$\endgroup\$ – l4m2 Apr 28 '19 at 3:53

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .