https://github.com/ibara/polyglot-cat
The Unix cat utility in many different languages. A teaching exercise.
https://github.com/ibara/polyglot-cat
Last synced: 10 months ago
JSON representation
The Unix cat utility in many different languages. A teaching exercise.
- Host: GitHub
- URL: https://github.com/ibara/polyglot-cat
- Owner: ibara
- License: other
- Created: 2015-04-20T01:47:15.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-01-06T18:45:02.000Z (about 9 years ago)
- Last Synced: 2025-01-18T02:17:59.307Z (12 months ago)
- Language: F#
- Size: 11.7 KB
- Stars: 1
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
cat
===
The Unix cat utility in many different languages. A teaching exercise.
Why?
----
Hello World is the traditional first program that is written by budding
programmers. However, the program isn't very useful. And it's not supposed to
be.
cat is probably one of the easier utilities to understand and write that is
actually used. Additionally, it is sufficiently complex enough to have multiple
ways of writing it within any particular language, allowing the new programmer
to impart his or her own developing style to the code. Finally, cat has special
conditions that require a little extra thought. A programmer could choose to
omit the code for handling stdin for a simplified program, for example.
The aspiring programmer will have a program he or she will use on a regular
basis. That feeling of using what you make hopefully provides encouragement to
continue learning to program.
Get involved
------------
Want to help herd cats? Write your own version of cat. Any language will do! In
fact, multiple examples of each language is good for demonstrating different
styles.
License
-------
Each implementation has its own license header. See LICENSE for a maintained
list.