This is a particular discussion thread among many which consider Rosetta Code.
New learning approach
I think it would be more useful if there were 'useless' tasks defined with the sole purpose of being quick synthax guides by comparison and we could chose a pair of languages put the scripts side by side (literally - I mean, horizontally). So you could take a language you know and quickly get the equivalent structures in another language. For instance - we define a script which contains a class definition, with stance attributes and methods, static attributes and methods, inheritance, interfaces etc - ONE OF EACH, ONLY. Then create a main method containing the main control structures - if+else, for, while etc, one of each main variable type, the default 'print to console' method ..- the most you can 'pack' together and cover a large number of the most popular languages. What do yo think?
- There is a significant danger of needless repetition. I think a better approach would be a single task that scrapes an existing page for two specified languages and shows the results side by side, perhaps along the lines of Rosetta_Code/Run_examples. See also Category:Simple for an existing list of potential candidate pages, and Category:Phix/basics, a similarish list I put together for somewhat different reasons. You could perhaps amend a few tasks to add/require a special "//</side-by-side>" comment in cases where any "extras" have been added that shouldn't be so compared. --Pete Lomax (talk) 23:50, 27 April 2021 (UTC)