Domain-specific languages vs. library of functions

前端 未结 8 1445
予麋鹿
予麋鹿 2021-02-07 08:13

This may be subjective, I don\'t know: I have this problem, which I\'m kind of equating to the \"what language for this project?\" question, since I can\'t seem to solve it.

8条回答
  •  野的像风
    2021-02-07 08:53

    Use psuedo-code to explain your algorithms. That would be more generic than using a general-purpose programming language with library API.

    How complex do you feel your DSL will have to be? Will it take a lot for readers to become familiar with it?

    Although you would get to fill the back of your book with the source code to the library to fill those pages.

提交回复
热议问题