Skip to content

Exercises for Seven Languages in Seven Weeks

License

Notifications You must be signed in to change notification settings

scala-szeged/7languages

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

7 Languages

Example files and exercises for Bruce A. Tate's book Seven Languages in Seven Weeks.

Ruby

Day1: Basic examples covering the language syntax, Ruby's duck typing approach and pattern matching.

Day2: Examples for file IO, using advanced data structures, functions and blocks, including a simple version of grep. A simple tree implementation illustrates these concepts and explains some of the magic in Ruby.

Day3: Ruby's object model and metaprogramming exercises. For example, mixins and metaprogramming can be used to handle CSV files conveniently.

Python

Python is not covered by Tate's book. However, I tried to implement some of the examples of the book in Python, just as an exercise and for the fun of it.

Day2: A simple version of grep and a port of a tree data structure in Python using Iterators.

About

Exercises for Seven Languages in Seven Weeks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 64.1%
  • Python 35.9%