• Menu
  • Skip to right header navigation
  • Skip to main content
  • Skip to secondary navigation
  • Skip to primary sidebar

OnlineProgrammingBooks.com

Legally Free Computer Books

  • All Categories
  • All Books
  • All Categories
  • All Books
  • About Us
  • Privacy policy
  • Disclaimer
  • Subscribe
  • Contact
You are here: Home ▶ OCaml ▶ Think OCaml: How to Think Like a Computer Scientist

Think OCaml: How to Think Like a Computer Scientist

September 12, 2012

Think OCaml: How to Think Like a Computer Scientist

“Think OCaml: How to Think Like a Computer Scientist” is an introductory programming textbook based on the OCaml language. It is intended for newcomers to programming and also those who know some programming but want to learn programming in the function-oriented paradigm, or those who simply want to learn OCaml.

Book Description

The goal of this book is to teach you to think like a computer scientist. This way of thinking combines some of the best features of mathematics, engineering, and natural science. Like mathematicians, computer scientists use formal languages to denote ideas (specifically computations). Like engineers, they design things, assembling components into systems and evaluating tradeoffs among alternatives. Like scientists, they observe the behavior of complex systems, form hypotheses, and test predictions.

The programming language you will learn is OCaml. OCaml is an example of a high-level language; other high-level languages you might have heard of are C, C++, Perl, Java and Python.

Table of Contents

  • The way of the program
  • Variables and Expressions
  • Functions
  • Program Flow
  • Recursive Functions
  • Algorithms
  • Strings
  • Lists
  • Case Study: Regular Expressions
  • Putting the O in OCaml, Part 1: Imperative programming
  • Arrays
  • Hashtables
  • Tuples
  • Records and Custom Data Structures
  • Putting the O in Ocaml Part 2: Objects and Classes
  • Case study: data structure selection

Download Free PDF / Read Online

Author(s): Nicholas Monje and Allen Downey
Publisher: Green Tea Press
Format(s): PDF, HTML
File size: 580 KB
Number of pages: 142
Link: Download.

Similar Books:

  1. Think Python: How to Think Like a Computer Scientist
  2. How to Think Like a Computer Scientist: Learning with Python
  3. How to Think Like a Computer Scientist Java Version
  4. How to Think Like a Computer Scientist C++ Version
  5. Simply Scheme: Introducing Computer Science
Previous Post: « So You Want to Learn to Program? – Programming With BASIC-256
Next Post: Seamless Object-Oriented Software Architecture: Analysis and Design of Reliable Systems »

Primary Sidebar

Get Latest Updates

  • Facebook
  • Pinterest
  • RSS
  • Twitter
  • YouTube
  • About Us
  • Privacy policy
  • Disclaimer
  • Subscribe
  • Contact

Copyright © 2006–2025 OnlineProgrammingBooks.com