Rosetta Code:Village Pump/Email protection in code: Difference between revisions
(Created page with "{{Vptopic |topic=Email protection in code |summary=Sometimes parts of the source code is replaced with "[email protected]". }} With 'sometimes' I mean the Forth language and t...") |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{Vptopic |
{{Vptopic |
||
|topic=Email protection in code |
|topic=Email protection in code |
||
|summary=Sometimes parts of the source code is replaced with " |
|summary=Sometimes parts of the source code is replaced with "email protected". |
||
}} |
}} |
||
With 'sometimes' I mean the Forth language and the standardized words <code>R@ 2R@ C@ 2@ F@ SF@ DF@</code>, but in principle it is possible, and not very unlikely, to define Forth words of the form something@, or even something@somethingelse. |
With 'sometimes' I mean the Forth language and the standardized words <code>R@ 2R@ C@ 2@ F@ SF@ DF@</code>, but in principle it is possible, and not very unlikely, to define Forth words of the form something@, or even something@somethingelse. |
Revision as of 13:11, 16 July 2019
This is a particular discussion thread among many which consider Rosetta Code.
Summary
Sometimes parts of the source code is replaced with "email protected".
Discussion
With 'sometimes' I mean the Forth language and the standardized words R@ 2R@ C@ 2@ F@ SF@ DF@
, but in principle it is possible, and not very unlikely, to define Forth words of the form something@, or even something@somethingelse.
I suppose there is a good reason for hiding email addresses, even if those who edit the pages put them there by themselves, but would it be possible to exclude <lang>...</lang>-sections from this protection.
It is possible to replace a triggering @ with @ and most browsers should display the code alright, and even copy-paste should work, but it's an inconvenience to mangle the code like that, and it doesn't feel right.
--Tommy 12:24, 16 July 2019 (UTC)