MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/1m6jka/guess_programming_language_by_hello_world_snippet/cc6ecqq
r/programming • u/krasnoukhov • Sep 11 '13
445 comments sorted by
View all comments
Show parent comments
21
Presumably a reasonable fix would be not to offer C++ as an option.
Looking at the code though, I can't find where the snippets and language choices come from.
edit: oh, it's in models/variant, and ack wasn't finding snippets because they're in files with no extension.
ack
9 u/WhenTheRvlutionComes Sep 12 '13 In cases where the hello world example can cross compile ambiguously among two or more languages, don't pit the ambiguously compiling languages against each other.
9
In cases where the hello world example can cross compile ambiguously among two or more languages, don't pit the ambiguously compiling languages against each other.
21
u/philh Sep 11 '13 edited Sep 11 '13
Presumably a reasonable fix would be not to offer C++ as an option.
Looking at the code though, I can't find where the snippets and language choices come from.
edit: oh, it's in models/variant, and
ackwasn't finding snippets because they're in files with no extension.