Talk:Find the last Sunday of each month: Difference between revisions

Content added Content deleted
(→‎Duplicate task?: new section)
Line 32: Line 32:


Given that this is virtually a duplicate of another task, should we have this one at all? That is, should we delete this one? –[[User:Dkf|Donal Fellows]] ([[User talk:Dkf|talk]]) 14:16, 17 April 2013 (UTC)
Given that this is virtually a duplicate of another task, should we have this one at all? That is, should we delete this one? –[[User:Dkf|Donal Fellows]] ([[User talk:Dkf|talk]]) 14:16, 17 April 2013 (UTC)

I think I have seen seen tasks generalised on RC before. Basically create a new "generalised" page with a full description, and test case. Then tag (as deprecated) the old entries in the original page. This allows the original authors to migrate the code at their leisure. And remove the deprecated code when the generalised routine is available.

I confess my problem is finding a page name that accurately describes the generalised task. As opposed to finding the last week day, typically Friday. i.e. [[Find a first or last day of week in a month]] is quite a mouthful. How about [[Determine the date of a day of week]]? Any other ideas?

[[User:NevilleDNZ|NevilleDNZ]] ([[User talk:NevilleDNZ|talk]]) 14:24, 17 April 2013 (UTC)