Vai offline con l'app Player FM !
031: Elm Code Generation
Manage episode 293236196 series 2653315
What's the source of truth?
Teach the Elm compiler about external things like schemas
Macros in other languages
Vanilla code generation can be inspected and debugged like plain handwritten code
Gitignore gen code so you know you didn't forget to generate it on the build server
Watchers for rerunning codegen
Rerun code gen when the source of truth changes ideally
The Design of Everyday Things by Donald Norman
Affordances
Mappings
Scaffolding
elm-review init
,new-rule
, andnew-package
elm-spa new
- html-to-elm.com
- End to end testing your generated code
- Snapshot testing
elm-graphql
's snapshot testing script- html-to-elm.com generated test suite
elm-verify-examples
96 episodi
Manage episode 293236196 series 2653315
What's the source of truth?
Teach the Elm compiler about external things like schemas
Macros in other languages
Vanilla code generation can be inspected and debugged like plain handwritten code
Gitignore gen code so you know you didn't forget to generate it on the build server
Watchers for rerunning codegen
Rerun code gen when the source of truth changes ideally
The Design of Everyday Things by Donald Norman
Affordances
Mappings
Scaffolding
elm-review init
,new-rule
, andnew-package
elm-spa new
- html-to-elm.com
- End to end testing your generated code
- Snapshot testing
elm-graphql
's snapshot testing script- html-to-elm.com generated test suite
elm-verify-examples
96 episodi
Tutti gli episodi
×Benvenuto su Player FM!
Player FM ricerca sul web podcast di alta qualità che tu possa goderti adesso. È la migliore app di podcast e funziona su Android, iPhone e web. Registrati per sincronizzare le iscrizioni su tutti i tuoi dispositivi.