|
|
On 09/08/2011 05:48 PM, Warp wrote:
> Darren New<dne### [at] sanrrcom> wrote:
>> On 8/8/2011 7:01, Warp wrote:
>>>> If you /need/ to generate large chunks of code automatically, you're
>>>> writing your program wrong.
>>>
>>> You could use the same argument for any of the several features in your
>>> text editor that you, personally, never use.
>
>> I'd more say that if you need to generate large chunks of code
>> automatically, your programming language is too low-level for the code
>> you're writing. Boilerplate is a sign that your language needs to be able to
>> automate the boilerplate.
>
> I don't think nemesis was restricting his reference to using templates
> to generate content to program code. You could have all kinds of templates
> to generate all kinds of documents, such as html, latex, etc.
LaTeX is program code too. ;-)
As for HTML, that's why there are tools to generate HTML for you.
Now, if you could make it really easy to access those tools from your
text editor - or any other tools you might have (compilers,
interpreters, previewers, etc.), that's definitely worth having.
Post a reply to this message
|
|