Talk:Halt and catch fire: Difference between revisions

m (→‎A bit limited ?: adjusted what was struck.)
 
(2 intermediate revisions by 2 users not shown)
Line 40:
::::: That sort of thing briefly crossed my mind too, but it would be hardware-specific as opposed to programming-language-specific, and therefore somewhat against the primary purpose of this whole site (albeit the op deals primarily in hardware-specific programming languages). Like most everyone else I just assumed we were looking for an emergency "panic" that could be inserted into any other program, and only triggered when some critical test failed, maybe the task should be changed to explicitly ask for that, eg
::::::"It should be possible to insert [a specified subset of] your submission into another program [written in the same language], presumably to help debug it."
 
:::::This sounds different from the original task. If the code just terminates the program, this is similar to the program termination task. I wonder if the only examples that completly fit the original task would be the 6502 and 68000 assembly ones, since those work by crashing the CPU, not just by a halt instruction or an exit with error code.--[[User:Wherrera|Wherrera]] ([[User talk:Wherrera|talk]]) 17:32, 21 September 2021 (UTC)
 
::::::One difference in my mind is that [[Program_termination]] is a clean (quiet) shutdown, whereas this seems to ask for a (loud) bang. --[[User:Petelomax|Pete Lomax]] ([[User talk:Petelomax|talk]])
 
:::::The task also asks for the minimum number of lines rather than minimum number of characters, btw. --[[User:Petelomax|Pete Lomax]] ([[User talk:Petelomax|talk]]) 12:27, 16 September 2021 (UTC)
 
== Syntax errors ==
The name of this task is not "Generate syntax error". Task description updated, four (out of 22) entries marked incorrect. --[[User:Petelomax|Pete Lomax]] ([[User talk:Petelomax|talk]]) 00:40, 19 September 2021 (UTC)<br>
<strike>PS I am not sure whether the Perl entry is incorrect. I know that, for instance, JavaScript allows <code>dummy();</code> and only complains that it is [still] undefined when it actually tries to execute that line. --[[User:Petelomax|Pete Lomax]] ([[User talk:Petelomax|talk]])</strike>
7,795

edits