3 ms·
> Rules-based programming is one of those things that isn't useful often Not to quibble with the part of your post that you immediately qualify, but is this re
by JadeNB 11y ago
> Rules-based programming is one of those things that isn't useful often
Not to quibble with the part of your post that you immediately qualify, but is this really true? It seems to me like it's one of the most obvious (though maybe not the most successful?) approaches to expert-knowledge systems.
- duncanawoods 11y agoYour point may not be a contradiction i.e. there are not many cases where a rule based expert system is actually useful. The typical problems are incompleteness, inability to handle ill-structured reality and that you can't add rules without rewriting existing rules making them scale poorly.
- rwmj 11y agoI think in this case it's definitely the last one. The C code is difficult to follow and harder to modify (see example link below). The new code may be easier to follow. Although I'm also aware that there's a fixed amount of complexity in the problem, and there may not be any silver bullet. https://github.com/libguestfs/libguestfs/blob/master/src/inspect-fs-unix.c https://github.com/libguestfs/libguestfs/blob/master/src/ins...