by afandian · 2y ago · 0 comments
I can see the point of DSLs where the output is used by other code (e.g. builder pattern, LINQ). But this seems like overhead compared with the alternative?
The other thing you list, input, is optional. I write programs that don't take any input all the time. Monte Carlo simulation, for example. The entire demoscene is largely devoted to creating incredibly sophisticated programs that don't take any input. Postscript is a full, Turing-complete language whose primary purpose is to create programs that generally don't take any input
Or a screenplay?
(Because there are better formats for them)
Screenplays... are already written in code, partly. If they weren't, they'd include quotation marks and "she said" after every line.
Vs. Cooking or Writing which aren't coding practices unto themselves.