lumiera_/research
Ichthyostega e127d0ad9a Chain-Load: develop a design for a random-number-drawing DSL
This might seem totally overblown -- but already the development
of this prototype showed me time and again, that it is warranted.
Because it is damn hard to get the probabilities and the mappings
to fixed output values correct.

After in-depth analysis, I decided completely to abandon the
initially chosen approach with the Cap helper, where the user
just specifies an upper and lower bound. While this seems
compellingly simple at start, it directly lures into writing
hard-to-understand code tied to the implementation logic.

With the changed approach, most code should get along rather with

auto myRule = Draw().probabilty(0.6).maxVal(4);

...which is obviously a thousand times more legible than
any kind of tricky modulus expressions with shifted bounds.
2023-11-20 03:16:23 +01:00
..
clang-static-init-1.cpp BUG: Clang shows a problem when accessing templated static variable through separate compilation units 2013-10-06 23:17:18 +02:00
clang-static-init-2.cpp bughunt: re-create the whole 2nd layer with a configurable product type --> HIT 2013-10-06 23:17:18 +02:00
clang-static-init.hpp BUG: Clang shows a problem when accessing templated static variable through separate compilation units 2013-10-06 23:17:18 +02:00
crash_gdb_jessie-2015-08.sh investigation: Segfault in GDB (IV) (related to #946) 2015-08-16 01:17:35 +02:00
DIR_INFO SCons: new build target for experimental code 2011-12-03 06:10:12 +01:00
gtk-canvas-experiment.cpp ...tidy.up: preserve the Gtk::Canvas experiment (see #1020) 2018-10-07 17:31:49 +02:00
gtk-canvas-experiment.hpp Project: update and clean-up Doxygen configuration 2021-01-24 19:35:45 +01:00
gtk-canvas-main.cpp Global-Layer-Renaming: adjust namespace qualification 2018-11-15 23:59:23 +01:00
gtk-style-experiment.cpp Project: update and clean-up Doxygen configuration 2021-01-24 19:35:45 +01:00
gtk-style-experiment.css Investigation: clarify handling of CSS3 box-shadow for custom drawing 2019-08-08 19:08:04 +02:00
SConscript Investigation: install a custom stylesheet 2019-08-01 00:48:04 +02:00
try.cpp Chain-Load: develop a design for a random-number-drawing DSL 2023-11-20 03:16:23 +01:00