Skip to content

Commit 679d721

Browse files
committed
11: remove opinion
1 parent cb77d0e commit 679d721

File tree

1 file changed

+15
-5
lines changed

1 file changed

+15
-5
lines changed

11-debug-errors.md

+15-5
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,21 @@
22

33
*much of this chapter was populated with [ngn](https://ngn.bitbucket.io)'s help.*
44

5-
One thing that array languages used to be (and still are) notorious for are their terrible error messages.
6-
APL, J and K4 try to work around this problem with their debugging tools, but the problem still remains that errors are not very descriptive.
7-
8-
K does not have complex debugging tools available, and it has the worst errors that I know from an array language.
9-
This page will attempt to disambiguate all the possible errors that ngn/k can throw, and what can cause them.
5+
One thing that array languages used to be (and still are) notorious for are
6+
their terse error messages. This is often a hill to climb for most programmers.
7+
APL, J and K4 try to work around this problem with their debugging tools, but
8+
the common thing that they all share is that errors are not very descriptive.
9+
Array language expect you to use your knowledge of the symbols to guide the
10+
debugging process.
11+
12+
K does not have complex debugging tools available, and primarily favours print
13+
debugging. The types of errors that can happen are small in number, generally
14+
provide the position of the error, and errors
15+
take up very less space on screen. Hence, K debugging is usually simpler than
16+
one expects. If you like long, detailed explanations of what you need to do,
17+
then K may not be for you.
18+
19+
This page will disambiguate all the possible errors that ngn/k can throw, and what can cause them.
1020

1121
A K error will generally have a) an error name and b) A message prefixed with a quote and b) a few lines pointing to the code where the error happened.
1222
Errors will be disambiguated first on error name, then the situation it may appear in.

0 commit comments

Comments
 (0)