Posts

Showing posts from February, 2018

Introduction to Python programming by Andrew Ng

Image
A free ebook or a very reasonably priced paperback that provides a very broad coverage of the Python language.

Andrew Ng is a well known figure in the world of AI, and since Python is a major language in that world, you'd imagine that Ng is quite an authority on Python.

This books demonstrates that this is, indeed, the case.

It is an very comprehensive book covering just about every aspect of Python that you might want to know about. It's also a conventional book that starts with how to install the software and then moves on to the language itself. It covers data and variables, moves through operators, control statements, libraries, functions, OOP, and databases, giving a detailed coverage of each topic.You'd be hard-pressed to find anything missing.

While it is well explained, the examples are fairly trivial which, in a book of less than 300 pages, is not really very surprising, particularly given the amount of ground the author covers.
Ng is clearly an expert in the lang…

The C Programming Language by Kernighan and Ritchie

Image
Recently, I needed to write a brief tutorial on the C language and, because I haven't used the language for a little while, I though I'd better brush up my skills.

Where better to start than "The C Programming Language" by Brian W. Kernighan and Dennis Ritchie.

I first bought this book soon after it came out in 1988 and, if like me, you are put off by 500 page volumes that promise to teach you a programming language in 24 hours, or a month, or whatever... you might like it.

Kernighan and Ritchie not only wrote the book, but Ritchie wrote the language, too. So it is nothing if not authoritative. They then went on to revise the language and produce a new edition of the book. So if your grandfather, or aging uncle, offers to lend you a copy of K&R's first edition, just politely accept and then put it on the shelf for posterity. It’s the second edition, the ANSI version, that you need.

The K&R book is quite short - less than 300 pages - and in two main parts, t…