Talk:Rosetta Code/Count examples/Full list/Tier 4

From Rosetta Code
Revision as of 15:55, 31 January 2022 by Thundergnat (talk | contribs) (There is no F_Sharp entry, only F#)

Entry 123 claims that F# does not implement Matrix Multiplication. http://www.rosettacode.org/wiki/Category:F_Sharp has Matrix Multiplication under Pages in category "F Sharp".--Nigel Galloway (talk) 15:10, 31 January 2022 (UTC)

The report generating logic doesn't use any heuristics to try to determine if a particular piece of code is written in any particular language. It only looks at the presence (or absence) of the Rosettacode supported language header to tell if that language has an example or not. The supported header for F Sharp is =={{header|F_Sharp|F#}}==; the Matrix Multiplication F Sharp entry header is =={{header|F#}}==, so it is not recognized as belonging to F_Sharp (the languages name on Rosettacode).
Is it ideal? No, it's not. But the algorithm is pretty darn accurate as long as the task header markup is correct. Am I particularly inclined to modify the parsing logic to find unsupported markup? No, not really. --Thundergnat (talk) 15:55, 31 January 2022 (UTC)