Monday, May 28, 2012

'Hello, world': Programming languages quiz

How good are you at languages? Polyglot programmers are all the rage, but you'd be a versatile coder indeed if you were fluent in every language in the modern developer's toolbox. Yet you don't have to be a wizard in every language to be able to tell which is which. We've assembled examples of the simplest program of all -- "Hello, world" -- for 20 different programming languages. See how many code snippets you can match with the languages they were written in. Note that none of these examples is necessarily the only way to write a "Hello, world" program in a specific language, or even the best way. We've often included some extra lines of code, such as function definitions and comments, where it can help you distinguish one language from others that have a similar syntax. Watch for telltale clues!

'Hello, world': Programming languages quiz

Source: http://www.infoworld.com/d/application-development/hello-world-programming-languages-quiz-188874?source=rss_infoworld_top_stories_

SATYAM COMPUTER SERVICES SES SHAW COMMUNICATIONS MCAFEE

No comments:

Post a Comment