Talk:Partial function application: Difference between revisions

Content added Content deleted
(→‎Proposal for new task description: more explanation of my POV.)
(→‎Is D correct?: strict vs. liberal)
Line 180: Line 180:
:: ''"D language does not support PFA, but the following solution ..."''
:: ''"D language does not support PFA, but the following solution ..."''
: would be OK by me. What do others think? --[[User:Paddy3118|Paddy3118]] 21:03, 15 April 2011 (UTC)
: would be OK by me. What do others think? --[[User:Paddy3118|Paddy3118]] 21:03, 15 April 2011 (UTC)
:: I think it's the call of the primary task author. One way to write a task is to make very specific requirements that a certain technique be used. Languages that can't do it get marked omit, and the result is a clean comparison of that technique in different languages, without the clutter of similar but not-the-same techniques. A different way to write a task is to explain "here's a technique that achieves some goal. Demonstrate the technique in your language, or, if the technique is missing in your language, show the idiomatic way of achieving the same goal." Both are valid ways to write a task, but I really like it when the task description makes it clear one way or the other. For an example, Go doesn't do named or optional parameters. The named parameter task was very specific and I marked it omit. The optional parameter task was worded the second way, even putting in bold "whatever way is most natural to your language." So I enjoyed coding up an alternative way to achieve a similar effect. —[[User:Sonia|Sonia]] 10:16, 16 April 2011 (UTC)


== Proposal for new task description ==
== Proposal for new task description ==