Skip Navigation

DSLs are a waste of time

leebriggs.co.uk DSLs are a waste of time | lbr.

If you’ve read this blog before, or are unfortunate enough to have an actual personal relationship with me, you’ll know that I have strong opinions and can be, shall we

TLDR: terraform bad, pulumi good

23
TechNews @radiation.party irradiated @radiation.party
BOT
[HN] DSLs Are a Waste of Time

You're viewing a single thread.

23 comments
  • I thought I was going to disagree at first, because I am forced to use multiple DSLs for several projects I work on, however after I thought about it I hate the those DSL's because they are not actual programming languages they are overly restrictive. more limiting than assembly, thus why I am using an actual language to create my own DSL that mainly uses the language as its host, so its not really a full DSL just a few extra functions on top of an actual language. so surprisingly I pretty much agree.

    I would say Elixir, Ocaml, Rust, Haskell, Scheme, Clojure, Common Lisp all have great examples of large and small DSL's that are very convenient, I would also include libraries as DSLs a C example would be something like Raylib, or SDL, and I would consider the code below an example of a micro DSL in Common Lisp.

        (loop for i from 0 to 100 by 2
                  for x from 10 by 10
                  do (print (list i x)))
    

    so I think I mostly agree.

23 comments