News for hackers. Stuff that matters.
Re:Racket 8.1 by protomyth on Friday May 07, 2021 @07:56AM (#27074913)
because creating a new DSL is antithetical to code that communicates with other programmers.

DSLs communicate wonderfully with the business users paying for the program. It also allows a programmer to match the jargon / industry speak used by the users.

Re:Racket 8.1 by Bootvis on Friday May 07, 2021 @08:32AM (#27075169)
Do you have an example of such a DSL? I like the idea but I myself can’t come up with a tool that implements it well.
Re:Racket 8.1 by lukego on Friday May 07, 2021 @10:10AM (#27076063)
Design rules in CAD software?

I know that Cadence's ASIC design tools are based on a custom Lisp dialect. I've seen a presentation at a Lisp conference from an architect who was representing myriad building regulations as Lisp expressions e.g. minimum clearance between toilet and bathroom door. There was another presentation about Lisp software for simulating aircraft engine performance based on various input parameters.

I don't know how close these applications are to Racket's ideal but I imagine they're somewhere on that spectrum.

Re:Racket 8.1 by dagw on Friday May 07, 2021 @10:21AM (#27076178)
I've seen a presentation at a Lisp conference from an architect

If you start talking to older architects and civil engineers who where active in the early to mid 90s, you'll be surprised how many of them know (or at least knew) Lisp.

Re:Racket 8.1 by blacktriangle on Friday May 07, 2021 @08:41AM (#27075235)
Not Racked based, but I'd say Cucumber/Gherkin. Yes it is absolutely overkill for small teams, but if you have a dedicated person who is not really a programmer but who is managing requirements between the developers and the stakeholders, Cucumber is amazing in that scenario.
Re:Racket 8.1 by protomyth on Friday May 07, 2021 @10:05AM (#27076007)
The ones I know of are locked in corporate IT departments, but Zed Shaw in his "The ACL is Dead" talk[1] from 2008 describes the use of one in relation to permissions on documents with rules specified in the DSL.

1) https://vimeo.com/2723800

Re:Racket 8.1 by hashkb on Friday May 07, 2021 @09:17AM (#27075518)
Rails routes. ActiveRecord. RSpec