ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

Other Software > Developer's Corner

Syntax in Different Programming Languages

(1/3) > >>

anandcoral:
Hi DC Members,

With ref. to
1. Experimenting with Other Programming Languages https://www.donationcoder.com/forum/index.php?topic=39542.msg370531;topicseen#msg370531
2. http://en.wikipedia.org/wiki/Comparison_of_programming_languages_%28syntax%29
3. http://rigaux.org/language-study/syntax-across-languages.html

I was planning to make a google sheet with rows having the most common code syntax names and columns with different programming languages and column cells filled with the code syntax of that programming language.

Something like Syntax in Different Programming Languages https://docs.google.com/spreadsheets/d/1jl3yLduCmtitpBMN_eET6w4Z7M0uqKb8OPanbre8O8M/edit?usp=sharing

Well the above is just for the starting idea.

Now comes the major point :
To have something like this needs programmers with the knowledge of the given language. I can only see DC members has the knowledge and can fulfill it.

How it is going to help :
Programmers trying to learn a new language can have the two languages columns visible (one being the language he/she know) and learn.

I think this will boost learning. It had helped me very much in my earlier days, like C++ for Basic Programmers.

Now it may be that a similar sheet, website with more features, already exist. Or some DC member already has something like it.

It would be better if we could make a website which asks for the two languages and shows the html pages for them only, no filtering / hiding in a sheet. I do not have expertise on it. In fact I will like the sheet to be maintained by our DC website for all programmers of the world.

I need guide and direction on this. Please help.

Regards,

Anand

ewemoa:
On a possibly related note, are you familiar with Rosetta Code?

wraith808:
One of my best classes in college was a class called The Organization of Programming Languages.  It was taught by someone who was giving back time as a professional in the industry, rather than a professor.  Many years later, it is one of the only ones that sticks in my mind and that I use.  I've gone from and to many different languages - Pascal to VB to C to C++ to Delphi to C# (and I currently dabble in a few others).  The syntax has never been the problem.  You can always find syntax.  It's the data structures and memory management and such that are always the sticking point.  If you can get those, you can rapidly move from one language to another with a minimum of difficulty.

Rosetta Code seems to handle the approach to moving between languages in that way at a more granular level.  Not to dissuade you, but I'm just not sure how much a syntax mapper will actually be used.

Of course, it could be based on how you learn, so perhaps it's just me.

ewemoa:
On a related note, came across the following recently:

  http://learnxinyminutes.com/

mouser:
Very related: http://hyperpolyglot.org/
Programming Languages - commonly used features in a side-by-side format

I like this one -- no filler just tables showing how small snippets of code would look in different languages.

Navigation

[0] Message Index

[#] Next page

Go to full version