|
2 | 2 |
|
3 | 3 | *much of this chapter was populated with [ngn](https://ngn.bitbucket.io)'s help.*
|
4 | 4 |
|
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. |
10 | 20 |
|
11 | 21 | 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.
|
12 | 22 | Errors will be disambiguated first on error name, then the situation it may appear in.
|
|
0 commit comments