Talk:Strip block comments: Difference between revisions

Content added Content deleted
No edit summary
Line 8: Line 8:


::: I've rewritten the task definition so that it is much more explicit about what is to be stripped, and I've made user-supplied delimiters into an extra-credit thing. (Some types of solution can do it easily and others cannot, but both are valid solutions to the core of the task IMO.) –[[User:Dkf|Donal Fellows]] 09:51, 11 November 2010 (UTC)
::: I've rewritten the task definition so that it is much more explicit about what is to be stripped, and I've made user-supplied delimiters into an extra-credit thing. (Some types of solution can do it easily and others cannot, but both are valid solutions to the core of the task IMO.) –[[User:Dkf|Donal Fellows]] 09:51, 11 November 2010 (UTC)

:::: Note that the issue with parameterized delimiters is that they have syntax associated with them, and syntax does not parameterize well. (For example consider comment blocks which allow the opening and closing sequence to overlap. Or, consider comment blocks where the same opening sequence can be closed by different closing sequences. And so on...) --[[User:Rdm|Rdm]] 11:52, 11 November 2010 (UTC)


== Definition of delimiters? ==
== Definition of delimiters? ==