Some times it is hard to understand which example of all available languages to follow. Having a canonical language, where all other examples should be based on would help.
So I think, that data/code.yml should have a parameter for each example specifying canonical language. Since programming language have different features, the can't be single canonical language that can cover all cases. So for a specific a canonical language should be one, that have cleanest implementation. For examples like a = 2 + 2, a default canonical language could be used.
As I understand, currently all examples are based on Ruby?
Some times it is hard to understand which example of all available languages to follow. Having a canonical language, where all other examples should be based on would help.
So I think, that
data/code.ymlshould have a parameter for each example specifying canonical language. Since programming language have different features, the can't be single canonical language that can cover all cases. So for a specific a canonical language should be one, that have cleanest implementation. For examples likea = 2 + 2, a default canonical language could be used.As I understand, currently all examples are based on Ruby?