Compare commits

..

No commits in common. 'main' and 'rev' have entirely different histories.
main ... rev

  1. 13
      README.md

13
README.md

@ -13,18 +13,21 @@
### Goals ### Goals
Generating text is a common coding task, and one popular approach is to use a template engine. While code and text might seem like two different things, they're pretty much the same when it comes to creating them. One of the most common coding tasks involves generating textual artefacts and employing a template engine is one of the most popular ways to do that in practice. Text and code are two different things, but from a generative point of view, they're not any different at all.
I'm playing around with a template-based solution that meets two goals: My casual exploration tries to create a template based POC solution that meets the following goals:
1. Keep it simple for Java developers who only need a quick tutorial to understand it.
1. To create a cognitively lightweight solution for simple use cases - no learning beyond what can be achieved in a brief tutorial for a Java developer.
2. To generate **<span style="text-decoration:underline;">multiple files</span>** from a single template file - this is a pet peeve of mine. 2. To generate **<span style="text-decoration:underline;">multiple files</span>** from a single template file - this is a pet peeve of mine.
1. [https://stackoverflow.com/questions/55025283/how-to-create-multiple-files-using-one-template-in-maven-custom-archetype-apach](https://stackoverflow.com/questions/55025283/how-to-create-multiple-files-using-one-template-in-maven-custom-archetype-apach) 1. [https://stackoverflow.com/questions/55025283/how-to-create-multiple-files-using-one-template-in-maven-custom-archetype-apach](https://stackoverflow.com/questions/55025283/how-to-create-multiple-files-using-one-template-in-maven-custom-archetype-apach)
### Warning! ### Warning!
Code generation is a well trodden field. There are better alternatives than doing DIY code generation from scratch. The whole exercise I present here is really about exploring ”mentally unburdened” code generation within the confines of a single afternoon. Code generation is a well trodden field. There are better alternatives than doing DIY code generation from scratch. The whole exercise I present here is really about exploring ”cognitively lightweight” code generation within the span of an afternoon.
### Serious Code Generation ### Serious Code Generation
@ -448,4 +451,4 @@ Good morning, Bob.
## Tea Break ## Tea Break
I'm off for a cuppa. Cheers! If you'll excuse me, I'm off for a cuppa. Cheers!

Loading…
Cancel
Save