If code in a comment has side effects, the whole thing seems like a very 
bad idea, because code that was commented out, might be executed.

kl. 18:12:44 UTC+2 torsdag 11. september 2014 skrev Rafael Fourquet 
følgende:
>
>
> Then one could use the existing Julia syntax for substituting values into 
>> the documentation, like:
>>
>> # This is a comment. 1 + 2 = $(1 + 2)
>>
>
> I don't have a strong opinion on this topic, but I really don't understand 
> why this is better than using directly:
>
> @doc "This is a doc string: 1 + 2 = $(1+2)"
>
> What is lost when using a string compared to comments?
>
>

Reply via email to