3 ms·
The foremost issue with abstract code generation systems based on DSLs (domain specific languages) often seems to be finding programmers (and project managers)
by contingencies 10y ago
The foremost issue with abstract code generation systems based on DSLs (domain specific languages) often seems to be finding programmers (and project managers) who are willing to invest the time learning the syntax and (often obtuse/opaque) tooling. In this case, aside from the security benefits (6.3/p13), the performance graphs at the end of this paper (NailDNS vs. Bind9; 6.4/p14) should be a great motivator.
That said, relevant quotes affirm this type of approach aligns well with established wisdom:
The benefit of using [a formal specification language] is that it teaches you to think rigorously, to think precisely, and the important point is the precise thinking. So what you need to avoid at all costs is any language that's all syntax and no semantics. - Leslie Lamport
One person's data is another person's program. - Guy L. Steele, Jr.
Representation: Fold knowledge into data so program logic can be stupid and robust. - Eric S. Raymond, The Art of Unix Programming (2003)
Data Design > Code Design
Get your data structures correct first, and the rest of the program will write itself. - David Jones
For 80 percent of all data sets, 95 percent of the information can be seen in a good graph. - William S. Cleveland, Bell Labs
Less than 10 percent of the code has to do with the ostensible purpose of the system; the rest deals with input-output, data validation, data structure maintenance, and other housekeeping. - Mary Shaw, Carnegie-Mellon University
Pike's 4th Rule: Fancy algorithms are buggier than simple ones, and they're much harder to implement. Use simple algorithms as well as simple data structures. - Rob Pike, Notes on C Programming (1989)
Pike's 5th Rule: Data dominates. If you've chosen the right data structures and organized things well, the algorithms will almost always be self-evident. Data structures, not algorithms, are central to programming. - Rob Pike, Notes on C Programming (1989)
... from my fortune clone (|grep data) @ https://github.com/globalcitizen/taoup https://github.com/globalcitizen/taoup ; I spoke at Code Generation 2010 (Cambridge, UK) but somewhat controversially for that environment do not support UML.
- jgalt212 10y ago> The foremost issue with abstract code generation systems based on DSLs (domain specific languages) often seems to be finding programmers (and project managers) who are willing to invest the time learning the syntax and (often obtuse/opaque) tooling. I totally hear you on this as far as tech staff goes. However, if you can create a DSL that is writable and maintainable by non-tech staff, that's a huge win.