/ThinkRubyBuild

Forked from https://github.com/AllenDowney/ThinkPython2

Primary LanguageTeXOtherNOASSERTION

⚠️ 🚧 Work in progress - it'll take a long while to translate whole book from Python to Ruby, stay tuned...


Think Ruby Build

  • LaTeX source, code examples, and exercise solutions
    • Based on Think Python, 2nd edition, by Allen Downey which can be downloaded in PDF from Green Tea Press or bought in paper and other formats from O'Reilly Media.
    • Stopped LaTeX version at Files chapter (Preface and chapter 4 still not converted, plus there are pending todos) - the sep2018_latex_version tag marks this point
  • Going forward, translation would be based on markdown source
  • For contributing guidelines, see #1

Table of Contents

  1. Preface Ruby preface to be added
  2. The way of the program
  3. Variables, expressions and statements
  4. Methods
  5. Case study: interface design not yet translated
  6. Conditionals and recursion
  7. Fruitful methods
  8. Iteration
  9. Strings
  10. Case study: word play
  11. Arrays
  12. Hashes
  13. Arrays and Hashes
  14. Case study: data structure selection
  15. Files
  16. Classes and objects not yet translated
  17. Classes and functions not yet translated
  18. Classes and methods not yet translated
  19. Inheritance not yet translated
  20. The Goodies not yet translated

A1. Debugging not yet translated

A2. Analysis of Algorithms not yet translated

Translated chapters still require a round of editing and have pending TODOs.


Motivation

  • An attempt to translate the wonderful Think Python to Think Ruby
  • Help me learn and understand Ruby better
  • Forced to learn LaTeX is a bonus

Build instructions

  • To build the book from LaTeX source you will need a LaTeX installation
  • TeX Live distribution is recommended with the following packages:
    • texlive-latex-base
    • texlive-latex-extra
    • texlive-fonts-recommended

License

Same license as Think Python book applies: