Rosetta Code talk:Village Pump/New learning approach

From Rosetta Code
New learning approach
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?