I spent 4-6 hours the other day trying to figure out the equivalent of Hello World for a MediaWiki parser function extension.
In theory, they have a quick start guide, but that documentation has so many errors, and I spent ages jumping between PHP and a JSON configuration file I barely understood.
At least it’s working now. Now time to figure out how the heck to properly interact with the MediaWiki database!
(Perhaps once I’m a bit more confident in MediaWiki development, I’ll see if I can tidy up some that documentation.)
Brainfuck would like to have a word
The last one seems to be mostly like Brainfuck, just with different capitalizations of “moo”: https://esolangs.org/wiki/COW
@devilish666 C++ (non-stupid):
#include <stdio.h>
int main() {
puts(“Hello, world!”);
}There is nothing wrong with cout, way better than the java long ass sentence.
Yeh. They really did C++ unnecessarily dirty.