forked from personal/squiggle.c
add no guarantees comment
This commit is contained in:
parent
1b8b6d23c4
commit
0e7d9d15e4
|
@ -80,9 +80,16 @@ The first approach produces terser programs but might not scale. The second appr
|
||||||
|
|
||||||
Behaviour on error can be toggled by the `EXIT_ON_ERROR` variable. This library also provides a convenient macro, `PROCESS_ERROR`, to make error handling in either case much terser—see the usage in example 4 in the examples/ folder.
|
Behaviour on error can be toggled by the `EXIT_ON_ERROR` variable. This library also provides a convenient macro, `PROCESS_ERROR`, to make error handling in either case much terser—see the usage in example 4 in the examples/ folder.
|
||||||
|
|
||||||
|
### Guarantees
|
||||||
|
|
||||||
|
- I offer no guarantees about stability, correctness, performance, etc. I might, for instance, abandon the version in C and rewrite it in Zig, Nim or Rust.
|
||||||
|
- This project mostly exists for my own usage & for my own amusement.
|
||||||
|
- Caution! Think carefully before using this project for anything important
|
||||||
|
- If you wanted to pay me to provide some stability or correctness, guarantees, or to tweak this library for your own usage, or to teach you how to use it, you could do so [here](https://nunosempere.com/consulting). Although this theoretical possibility exists, I don't I don't anticipate that this would be a good idea on most cases.
|
||||||
|
|
||||||
### Design choices
|
### Design choices
|
||||||
|
|
||||||
This code should be correct, then simple, then fast.
|
This code should aim to be correct, then simple, then fast.
|
||||||
|
|
||||||
- It should be correct. The user should be able to rely on it and not think about whether errors come from the library.
|
- It should be correct. The user should be able to rely on it and not think about whether errors come from the library.
|
||||||
- Nonetheless, the user should understand the limitations of sampling-based methods. See the section on [Tests and the long tail of the lognormal](https://git.nunosempere.com/personal/squiggle.c#tests-and-the-long-tail-of-the-lognormal) for a discussion of how sampling is bad at capturing some aspects of distributions with long tails.
|
- Nonetheless, the user should understand the limitations of sampling-based methods. See the section on [Tests and the long tail of the lognormal](https://git.nunosempere.com/personal/squiggle.c#tests-and-the-long-tail-of-the-lognormal) for a discussion of how sampling is bad at capturing some aspects of distributions with long tails.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user