3 ms·
DSLs make the impossible possible. Whether this is good or bad depends on the design and implementation.
by norir 2y ago
DSLs make the impossible possible. Whether this is good or bad depends on the design and implementation.
- heisenbit 2y agoCompared to general purpose programming when using real world DSLs one also can encounter the case where the unusually possible becomes virtually impossible.
- fancyfredbot 2y agoWhich often is exactly what the DSL authors would have intended. If a DSL can make the common case faster, easier to program, and less buggy then that DSL is a success. The uncommon case should be written in a general purpose language just as it would have been if there was no DSL. Writing a DSL to be general enough to handle every possible use case is probably going to end up being a general purpose language, and it's probably going to be worse than the one you started with.