Practical OCaml 1st ed. Edition
| Joshua B. Smith (Author) Find all the books, read about the author, and more. See search results for this author |
Use the Amazon App to scan ISBNs and compare prices.
Objective Caml (OCaml) is an open source programming language that utilizes both functional and object oriented programming. Practical OCaml teaches Objective Caml in a straightforward manner, teaching all the features of this functional programming language by example. You will learn how to utilize OCaml to create a simple database, do reporting, and create a spam filter. You will also learn how to do complex log file scanning, create your own network servers by creating a ShoutCast server, and create a web crawler. By the book's conclusion, you will be well on your way to creating your own applications with OCaml.
Editorial Reviews
About the Author
I'd like to read this book on Kindle
Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.
Product details
- Publisher : Apress; 1st ed. edition (October 20, 2006)
- Language : English
- Hardcover : 487 pages
- ISBN-10 : 159059620X
- ISBN-13 : 978-1590596203
- Item Weight : 2.33 pounds
- Dimensions : 7 x 1.06 x 10 inches
- Best Sellers Rank: #4,595,077 in Books (See Top 100 in Books)
- #439 in Functional Software Programming
- #1,126 in Unix Operating System
- #3,910 in Software Design & Engineering
- Customer Reviews:
About the author

Joshua Smith is a consultant specializing in data problems and computing infrastructure. He got into computers while an undergraduate at Denison University and spends most of his programming time using Python, OCaml, and Java. Josh lives in Chicago with his wife and their two cats.
Customer reviews
Customer Reviews, including Product Star Ratings help customers to learn more about the product and decide whether it is the right product for them.
To calculate the overall star rating and percentage breakdown by star, we don’t use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyzed reviews to verify trustworthiness.
Learn more how customers reviews work on AmazonTop reviews from the United States
There was a problem filtering reviews right now. Please try again later.
Instead, it seems that this book and its author seek to increase the what-the-hecks per minute well beyond even the high rate that is inherent in OCaml itself as a topic (of any book by any author). This book seems to be written from the following (hypothetical) perspective: OCaml is a mind-bender, so let's gratuitously amplify that mind-bending, because that is what I, the author, really enjoy about OCaml (or programming or life). Although perhaps such a premise would make for a good book a la Charles Dickens's scathing satire of abstract mathematics in _Alice in Wonderland_, this is not that book, but perhaps this is the author who could (with characters and plot that are both absent in this book) accomplish such a work.
All that said, this book does (almost accidentally) accomplish a subset of the aforementioned goals iff the reader reads one paragraph or one snippet of OCaml code and then ponders what was just said from the perspective of: if I were writing this book, how would I have presented the underlying subject matter that was not overtly presented in the wording that I just read. And then go back and re-read the authors words to see if what the reader re-imagined conforms to the author's presentation. Using this (somewhat painful) style of extraordinarily-active reading-via-rewriting-in-my-mind, I actually obtained a moderate amount of usefulness from this book.
If you're really interested in learning OCaml, there are links around on the "tubes" (Internet) for what is often called "the OCaml book" written by Jason Hickey. Its very good and if you can't deal with it not being in hard copy form, then just print the PDF :).
The basic syntax issues are glossed over. Type polymorphism example is introduced with an error. I can go on and on
-with statement, type statement etc . Author does nothing to guide the reader through a maze of jumbled syntax. Terrible waste of a really good idea.
I am programming data structure and algorithms in javascript, I found javascript is flexible and the ecosystem has grown. You can find almost all useful libraries by googling, however, I don’t like the syntax and it is not strongly typed. Debugging javascript is a nightmare, I learn to code in ReasonML and to migrate an existing code into ReasonML. There are a lot of headaches during code migration, this book helps me a lot to resolve problems, all that said, this book is suitable for readers who have experienced a lot of programming, read the algorithms, get the concepts and write the algorithms in your own familiar programming language. If you expect to cut and paste the code of your programming, this may not be suitable for you.
Top reviews from other countries
Consider this and the fact that this book is a little dated by now (it uses OCaml 3.09, while 4.00 just came out): Don't buy it. Wait for Real World OCaml which is to be released this fall. I will buy that one, too.

