Re:Busting the 10x software engineer myth
by carnitine on Friday September 24, 2021 @11:45AM
(#28643970)
Mistreating division by zero is a logical error as you say, not a runtime error. No one has made any claims in this thread about logical errors, other than my earlier statement that Elm does not preclude them. The things which have been referred to as runtime errors for decades are not present in Elm, that’s really the only point here. In order to make that guarantee, there’s a couple of potholes where logical errors may crop up, it’s a worthwhile trade to many people.
[ Parent
| on HN ]
Re:Busting the 10x software engineer myth
by goto11 on Saturday September 25, 2021 @06:10AM
(#28651920)
Runtime errors means errors which occurs at runtime as opposed to compile time. Logical errors are a subset of runtime errors. Se for example https://en.wikipedia.org/wiki/Runtime_(program_lifecycle_pha...
This is the common definition.
Defining runtime errors as just being exceptions is clearly absurd - that would mean languages like C or assembler cannot have runtime errors!