Sabtu, 26 Mei 2018

Sponsored Links

Rosetta Code - Electronza
src: electronza.com

Rosetta Code is a wiki-based programming chrestomathy website with implementations of common algorithms and solutions to various programming problems in many different programming languages. It was created in 2007 by Mike Mol.

As of 30 December 2017, Rosetta Code has:

  •   868 programming tasks (or problems),
  •   205 additional draft programming tasks,
  •   654 programming languages,
  •   57,601 programming language examples/entries.

The site's content is licensed under the GNU Free Documentation License 1.2, though some components may be dual-licensed under more permissive terms.

The Rosetta Code web repository illustrates how desired functionality is implemented very differently in various programming paradigms, and how "the same" task is accomplished in different programming languages.


Video Rosetta Code



Data and structure

The Rosetta Code site is organized as a browsable cross-section of tasks (specific programming problems or considerations) and computer programming languages. A task's page displays visitor-contributed solutions in various computer languages, allowing a viewer to compare each language's approach to the task's stated problem. Task pages are included in per-language listings based on the languages of provided solutions; a task with a solution in the C programming language will appear in the listing for C. If the same task has a solution in Ruby, the task will appear in the listing for Ruby as well.

Selection of languages

The following represents a small sample of the over 650 computer programming languages found on Rosetta Code:

  • Ada
  • AutoHotKey
  • BBC Basic (there are over 35 different variants of BASIC)
  • C
  • C#
  • C++
  • COBOL
  • D
  • Fortran
  • Go
  • Haskell
  • J
  • Java
  • Kotlin
  • Mathematica
  • Perl and Perl 6
  • Picolisp
  • PL/I
  • PureBasic
  • Python
  • Racket
  • REXX
  • Ruby
  • SequenceL
  • Tcl


(To see a complete list of computer programming languages that have examples (solutions to the Rosetta Code tasks), see: Rosetta Code computer programming language popularity list.

Selection of tasks

The following represents a sample of the tasks found on Rosetta Code:

  • Ackermann function
  • Anagrams
  • Bitwise operations
  • Comments
  • Empty program
  • Factorial
  • Fibonacci sequence
  • Function definition
  • FizzBuzz
  • Hello world/Text
  • Infinity
  • Random numbers
  • Rot13
  • sorting algorithms
  • 99 Bottles of Beer
  • 100 doors

Maps Rosetta Code



See also

  • Example-Centric Programming

Rosetta Stone V3 Spanish - Level 1 example - YouTube
src: i.ytimg.com


References


Announcing Our New Resource - Rosetta Stone! | Caroline County ...
src: www.carolib.org


External links

  • Official website
  • Perl 6 on Rosetta Code

Source of the article : Wikipedia

Comments
0 Comments