Skip to content

Instantly share code, notes, and snippets.

@paoloumali
Last active August 29, 2015 14:06
Show Gist options
  • Save paoloumali/306bfc1ca18f4b23f3d3 to your computer and use it in GitHub Desktop.
Save paoloumali/306bfc1ca18f4b23f3d3 to your computer and use it in GitHub Desktop.
Domain Specific Language (DSL)
Modelling domain
- https://www.youtube.com/watch?v=lm4jEcnWeKI
- an attempt to represent real world situation in a way that is easier to consume for programming
- makes complex problems simpler
- used in solving the problem
Test Driven Development (TDD) - writing tests by yourself
Behavioral Driven Development (BDD) - customer tests
DSL:
1. Grammar
2. Implementation
3. Rules
Common DSL samples
1. SQL, Regular Expression, Unix shell scripts
2. jQuery, D3js, Gulp, Mocha
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment