Talk:Lucky and even lucky numbers: Difference between revisions

→‎What does "Mixed case should be supported" mean?: added comments about mixed case (or case insensitivity).
(→‎What does "Mixed case should be supported" mean?: added comments about mixed case (or case insensitivity).)
Line 49:
:(Also, if the quibble is that Perl 6 entry isn't following the first three rules, it is. It is, in fact, testing for those conditions with the signature matching. If the intent is to mandate some kind of particular error message in <i>response</i> to those errors, it should be made clearer just how anally the original implementation is to be copied.) --[[User:TimToady|TimToady]] ([[User talk:TimToady|talk]]) 01:24, 10 March 2014 (UTC)
:(Or if the requirement is for a placeholder comma, it's certainly not necessary for the Perl 6 solution, though I could certainly make it throw one away easily enough. The point of Rosettacode is to show idiomatic usages, not force every language to show how it supports the limitations of other languages...) --[[User:TimToady|TimToady]] ([[User talk:TimToady|talk]]) 01:42, 10 March 2014 (UTC)
 
:: Support of "mixed case" means to support the alphabetic options in any case, lower, upper, or mixed case (when the option was entered as the command line). Another phrase would be case insensitivity of a keyword (or option). The API requirement is meant to deal with writing a simple program that handles processing of lucky or even lucky numbers (either specific numbers, a range of numbers, or all numbers within a range) without changing/rewriting a program (either statements or values). This should not be seen as a limitation of any one language, but to support a user's invocation of a program to solve a general request (from the command line (versus via a program request). This is one method of supporting a general usage via the command line (CL) as opposed to writing a program that deals with just a fixed set of numbers to be generated. As for the comma placeholder, the comma is being used to indicate an omitted argument (or options), and is one common method to indicate such. It was not meant to be used just because of any language limitation, but just a method to indicate an omitted argument. The command line interface is one of the more common interfaces, and a free form format is the one that I choose to be used, it shouldn't be seen as particularly difficult or pedantic. -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 07:09, 10 March 2014 (UTC)
 
:Protip: Please be more specific when you mark something incorrect, if you don't want to read all this verbiage of me wondering what you meant. <tt>:-)</tt> --[[User:TimToady|TimToady]] ([[User talk:TimToady|talk]]) 02:36, 10 March 2014 (UTC)