http://www.jvoegele.com/software/langcomp.html
programming chrestomathy
Programming Chrestomathy
A chrestomathy is a sample of a given text in two or more different languages, for the purpose of teaching the different grammars and idioms.
m-w.com says
m-w.com says
1 : a selection of passages used to help learn a language 2 : a volume of selected passages or stories of an author
Chrestomathy
Chrestomathy (/krɛsˈtɒməθi/ kres-tom-ə-thee; from the Ancient Greek χρηστομάθεια “desire of learning” = χρηστός “useful” + μανθάνω “learn”) is a collection of choice literary passages, used especially as an aid in learning a subject.
簡單來說,就是 程式設計的 實用讀本
The idea is to present solutions to the same task in as many
Rosetta Code 是個 “ 程式設計的 實用讀本 ” 網站,發想是 展示 方案(寫程式碼的方案), 介紹 可執行的許多方法,與語言 ,展現更多語言的不同語區別,
different languages as possible, to demonstrate how languages are similar and different,
and to aid a person with a grounding in one approach to a problem in learning another.
提供個人一個整體性的學習
though we do not (and cannot) have solutions to every task in every language.
現在有超多項目與語言的資料提供
相關網站http://rosettacode.org/wiki/Help:Similar_Sites
語言比較http://rosettacode.org/wiki/Language_Comparison_Table
語言比較http://rosettacode.org/wiki/Language_Comparison_Table
實作 Unux 目錄指令 ls
實作 資料驗證 MD5
The purpose of this task to code and validate an implementation of the MD5 Message Digest Algorithm by coding the algorithm directly (not using a call to a built-in or external hashing library).
For details of the algorithm refer to MD5 on Wikipedia or the MD5 definition in IETF RFC (1321).
演算法實作 https://en.wikibooks.org/wiki/Algorithm_Implementation
搜尋MD5https://en.wikibooks.org/w/index.php?search=md5&title=Special%3ASearch&fulltext=Search
Java MD5 http://javarevisited.blogspot.tw/2013/03/generate-md5-hash-in-java-string-byte-array-example-tutorial.html
關係運算子 https://en.wikipedia.org/wiki/Relational_operator
程式語言 比較https://en.wikipedia.org/wiki/Comparison_of_programming_languages_(syntax)
wiki md5
https://en.wikibooks.org/wiki/Category:Computer_programming_languages
演算法實作 https://en.wikibooks.org/wiki/Algorithm_Implementation
搜尋MD5https://en.wikibooks.org/w/index.php?search=md5&title=Special%3ASearch&fulltext=Search
Java MD5 http://javarevisited.blogspot.tw/2013/03/generate-md5-hash-in-java-string-byte-array-example-tutorial.html
關係運算子 https://en.wikipedia.org/wiki/Relational_operator
程式語言 比較https://en.wikipedia.org/wiki/Comparison_of_programming_languages_(syntax)
wiki md5
https://en.wikibooks.org/wiki/Category:Computer_programming_languages
http://hyperpolyglot.org
Hyperpolyglot
Programming Languagescommonly used features in a side-by-side format
Scripting Languages I:Node.js, PHP, Python, Ruby
Scripting Languages II:Perl, Lua, Groovy
GUI Scripting:JavaScript, Smalltalk, Tcl, AutoHotkey
Command Line Interpreters:POSIX Shell, Cmd.exe, PowerShell
Forth and PostScript:Forth, PostScript
Prolog and Erlang:Prolog, Erlang
Lisp Dialects:Common Lisp, Racket, Clojure, Emacs Lisp
C and Go:C, Go
OO C Style Languages:C++, Objective-C, Java, C#
Rust, Swift, Scala:Rust, Swift, Scala
TypeScript, Dart, Hack:TypeScript, Dart, Hack
Pascal Style Languages:Pascal, Ada, PL/pgSQL
ML Dialects and Haskell:SML, OCaml, F#, Haskell
Numerical Analysis & Statistics:MATLAB, R, NumPy
Computer Algebra Software:Mathematica, SymPy, GAP, Pari/GP
Gnuplot and GLPK:Gnuplot, GLPK
Fortran and APL:Fortran, APL
Relational Data Languages:SQL, Awk, Pig
Programming Tools
Unix Shells:Bash, Fish, Ksh, Tcsh, ZshText Mode Editors:Vim, Emacs, Nano
Version Control:Git, Mercurial
Build Tools:Make, Rake, Ant, MSBuild
Terminal Multiplexers:Screen, Tmux
Relational Databases:PostgreSQL, MySQL, SQLite
Lightweight Markup:Markdown, reStructuredText, MediaWiki, AsciiDoc, Org-mode
2D Vector Graphics:PostScript, Processing, SVG
http://eqcode.com/wiki/Main_PageEqcode aims to show "equivalent codes for all languages," so it provides an index of common languages with drill-downs to specific concepts or tasks, such as removing a specific element from an array or constructing a regex to match an email address. The breadth of languages is decent, but the concepts addressed are somewhat scattershot, and it isn't updated often;
equivalent code wiki - eqcode.com
Equivalent codes for all languages!
| 2015-11-10 07:32 (UTC) |
Languages
http://cw.tactileint.com
CrossWise is a quick reference for computer languages used in website programming. Specifically, it compares languages side-by-side, feature-by-feature, so that you can understand the differences in syntax and concepts between languages so that you can port your site, or yourself, more quickly and with less frustration.
We're still early in the project so bear with me. Send too allan att tactileint daught calm and tell me what you think.
他是提供你一個 電腦語言 的 快速手冊,比較 電腦語言 之間 的特色
- Arrays
- Binary Data
- Booleans and Logic
- Control Constructs
- Dates and Times
- Debugging
- Hashes
- IO, Files, Filesystem
- Numbers
- Objects
- Strings
- Variables, Values and Names
Turn your nose up at Dart and instead smell the CoffeeScript
PLEAC - Programming Language Examples Alike Cookbook
Status
The latest status is accessible from here (the Perl part is the Solutions from the Perl Cookbook, the rest is PLEAC contents):
- perl, 100.00% done (raw source, colorized source)
- groovy, 100.00% done (raw source, colorized source)
- ocaml, 100.00% done (raw source, colorized source)
- python, 85.43% done (raw source, colorized source)
Related links
These are interesting projects on the same topic (thanks to Pixel):
- The Great Computer Language Shootout
- rot13 in different languages (string manipulation)
- Quine (self-reproducing code)
- The "Hello, World" Page
- The 99 Bottles of Beer problem
- OO example code
- OO shape examples
- Ryan Davis's Ruby Cookbook, a strangely named "collaborative work" since main author is holding the copyright and all rights are reserved
- ActiveState and O'Reilly's Python Cookbook
- ActiveState's Tcl Cookbook
- Michael Neumann's examples of programming languages
- Pixel's Syntax Across Languages
- Pixel's scriptometer
- The Common Lisp Cookbook
- A sort of Scheme Cookbook
- A sort of Andreas' practical language comparison
- The Perl/Python Phrase-Book
沒有留言:
張貼留言