Talk:Generate lower case ASCII alphabet

From Rosetta Code
Revision as of 17:18, 26 November 2014 by Sonia (talk | contribs) (→‎Description needs work: new section)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description needs work

(I know, it's out of draft and has a bunch of solutions already.)

It starts okay, but then I don't know what "For this basic task use a reliable style of coding" means. Is it a dig at some style used in some other tasks? I don't think it belongs. "a style fit for a very large program" Why? This is not a large program. Anyway, what does this mean? Should I add a program version number? Use map/reduce? Outsource tech support? "use strong typing if available" Few languages allow you to pick strong or weak. This extra requirement for a very few languages seems strange.

"It's bug prone to enumerate all the lowercase chars manually in the code." I disagree with this pretty strongly. If the intent is to disallow such things as strings and literal lists of the 26 letters, that's fine, but it could be a little more clear. "During code review it's not immediate to spot the bug in a Tcl line like this contained in a page of code:" You don't even have to be able to program or know what ASCII is to spot that error, just know your (English) alphabet. An off by one error or a < instead of <= on the other hand can elude the best of us at times. I would drop the editorializing and just clarify that literals of the full alphabet are disallowed. —Sonia (talk) 17:18, 26 November 2014 (UTC)