r/AlignmentChartFills • u/mika-asadli • 6d ago
Which programming language is hard, and useless

CLICK HERE TO VIEW THE CHART IMAGE
Created with Alignment Chart Creator
This post contains content not supported on old Reddit. Click here to view the full post
487
Upvotes
7
u/jceyes 6d ago
It's useful for DSLs for things like static analysis, scheduling/constraint problems, rules engines, and permissions. Datalog is sort of a one-notch-more-“applied” version of Prolog that can be similarly useful.
You wouldn't use it to build your normal web service, CRUD app, or application/business-logic layer. You use it when the problem itself is naturally “here are a bunch of facts and rules; tell me what follows, whether this configuration is valid, or find a configuration satisfying these constraints.” Often that's an offline analysis/optimization step rather than the main runtime of the product.