Skip to content

The Unix cat utility in many different languages. A teaching exercise.

License

Notifications You must be signed in to change notification settings

ibara/polyglot-cat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

The Unix cat utility in many different languages. A teaching exercise.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published