language syntax differences

Log in to Vote
17
17 Votes • 3 Comments
Shows how a syntax can be defined in different languages. The idea is " if I type a variable declaration,method declaration or say writing for loop, I should be able to get how to write the syntax in at least 2 or 3 languages.
Motivation for this idea : I am a C# programmer and just started learning python through the udacity CS 101 course. It was little difficult getting used to the python syntax
• posted 6 years and 8 months ago • type: Fathead (keyword data) Needs a Developer

anonymous
Yes..similar to the cheat sheet. Also like how the msdn .net pages shows how a certain construct is done in C++,C#,XAML. The main criteria for the result set is to include at least one compiled and an interpreted language.
For keyword, yes i was thinking of the same syntax : <<construct>> in <<language>>
posted by [UserVoice RAM] • 6 years and 8 months ago Link
anonymous
Hyperpolyglot is hosted through Wikidot and their API could be used to filter through that cheat sheet: http://www.wikidot.com/doc:api-methods. However, multiple input locations should probably be used.
posted by [UserVoice Finch Masters] • 5 years and 5 months ago Link
yegg
Kind of like this cheat sheet?

http://hyperpolyglot.org/scripting

For keywords, I'm guessing "loop in python" is something like what you were thinking?
posted by yegg Staff6 years and 8 months ago Link