Just learned that Wikimedia has a project called Wikifunctions. I’m a big fan of Wikipedia and associated projects, and on its face sounds like a cool site. I do wonder how this would work in practical terms though, like how could it actually be used?
Seems kinda trash tbh. Like the concept I love, I would love a cross-language “by examples” learning resource and snippet repository beyond SO. But looking through there most of the function options are trivial problems. The ones that aren’t one or two lines mostly have broken code that passes very few tests. The weird Z naming of function and variable makes it totally unreadable. The “composition” option is barely comprehendable and beyond that I only see two language options so it can’t even serve as a “rosetta stone”.
https://rosettacode.org/
Yeah, I guess you could argue it needs more contributors, but sort of like Wikipedia, suppose it saw wide adoption. Is it just a learn to code type thing? I guess better that Wikimedia runs it than stack exchange or whoever.