in reply to Re^2: black tags
in thread black tags
Personally, I hate seeing a solution before even having a try at the problem; that spoils all the fun.
Agreed. My point was not that such threads would be necessitated to present the solution, rather that the presentation of the solution be done in a manner conducive to learning perl. Consider:
Q. Perl question of the week.
A. <span class="spoiler">The Solution</span>
versus
Q. Perl question of the week.
A. [id://node|The Solution]
Both methods seperate the question from the solution, but the latter does so without obsfucation (and in my opinion, with a better presentation).
However, in the interest of completeness, for those who aren't as HTML savy and want to use the tags, have you considered adding the "spoiler code" to your user preferences for the text-area default content?
<!-- <span class="spoiler"></span> -->
The comments would preclude the code from being inserted in every post, yet it would be there as a reminder whenever necessary.
Having said that, HTML is an abstraction. PerlMonks tags are an abstraction of an abstraction. While I have found the [] tags particularly beneficial for intrasite links, I find the proposed <spoiler> tags akin to bbcode, namely a further abstraction. The point being that if one is to learn an abstraction, they may as well learn a productive one. HTML is universal; the proposed <spoiler> tags are not. Consider:
<spoiler></spoiler> <span class="spoiler"></span>
The proposed tags are slightly shorter, but their use necessitates understanding of HTML (opening and closing tags). The addition of an attribute would require slightly more effort, but as I've said, if you're going to use an abstraction, you may as well use something universal.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: black tags
by Anonymous Monk on Apr 25, 2005 at 09:10 UTC | |
by eibwen (Friar) on Apr 25, 2005 at 15:32 UTC | |
|
Re^4: black tags
by demerphq (Chancellor) on Apr 25, 2005 at 08:00 UTC |