Anonymous user
Talk:String interpolation (included): Difference between revisions
Talk:String interpolation (included) (view source)
Revision as of 15:35, 22 February 2013
, 11 years agoReturn this to draft
(→Task clarification: opt 3 + WP notes) |
(Return this to draft) |
||
Line 12:
::: I'm in favor of option 3, combined with consideration of another; correct the code example on Wikipedia's talk page in a way that won't raise the ire of the page's protector. --[[User:Short Circuit|Michael Mol]] 15:48, 1 June 2010 (UTC)
:::: I like that approach. -[[User:Dgamey|Dgamey]]
== Return to draft ==
:There seems to be another problem with this task, as I see it:
In traditional interpolation characters and variables are represented by a notation within the string, but I notice that some solutions are calling a substitution routine from within the language. This is really "substitution", rather than "interpolation". Iterpolation is implicit, whereas substitution is explicit (blimey that probably sounds more confusing - huh). Maybe the following examples clarify.
* "Mary had a $type lamb." # This is interpolation (not substitution)
* replace "type" with "little" in the string "Mary had a type lamb" # This is substitution (not interpolation)
Also what does the (included) bit mean in the task title?
I suggest we knock this task back to draft and sort out the description.
[[User:Markhobley|Markhobley]] 15:35, 22 February 2013 (UTC)
=== Wikipedia ===
|