Programming book recommendations. - Programming On Unix

Users browsing this thread: 8 Guest(s)
ckester
Nixers
I recently ordered this one and am looking forward to reading it:

Cristina Videira Lopes, Exercises in Programming Style 2nd Edition

Quoting from the book description on Amazon:
Quote:Using a simple computational task (term frequency) to illustrate different programming styles, Exercises in Programming Style helps readers understand the various ways of writing programs and designing systems. It is designed to be used in conjunction with code provided on an online repository. The book complements and explains the raw code in a way that is accessible to anyone who regularly practices the art of programming. The book can also be used in advanced programming courses in computer science and software engineering programs.

The book contains 40 different styles for writing the term frequency task. The styles are grouped into ten categories: historical, basic, function composition, objects and object interactions, reflection and metaprogramming, adversity, data-centric, concurrency, interactivity, and neural networks. The author states the constraints in each style and explains the example programs. Each chapter first presents the constraints of the style, next shows an example program, and then gives a detailed explanation of the code. Most chapters also have sections focusing on the use of the style in systems design as well as sections describing the historical context in which the programming style emerged.

I love reading and thinking about different approaches to software architecture, which I think is a better term for the subject of this book than programming style -- which I tend to associate with things like naming variables, indentation, placement of brackets, etc.

On the subject of coding style, I'm an old-fashioned devotee of the original K&R book introducing "C" and of Henry Spencer's more explicit Recommended C Style and Coding Standards.

I don't know if Spencer's work is still in print; my copy is a pamphlet issued in 1990 by SSC here in Seattle. (Those were the days!) Online copies are probably available somewhere on the web.


Messages In This Thread
Programming book recommendations. - by seninha - 24-03-2020, 08:31 AM
RE: Programming book recommendations. - by venam - 25-03-2020, 02:04 PM
RE: Programming book recommendations. - by z3bra - 08-05-2020, 03:25 AM
RE: Programming book recommendations. - by twee - 08-05-2020, 07:34 PM
RE: Programming book recommendations. - by sth - 08-05-2020, 09:50 PM
RE: Programming book recommendations. - by z3bra - 09-05-2020, 09:26 AM
RE: Programming book recommendations. - by wolf - 13-05-2020, 01:59 AM
RE: Programming book recommendations. - by ckester - 08-09-2020, 07:59 PM
RE: Programming book recommendations. - by venam - 09-09-2020, 02:07 AM
RE: Programming book recommendations. - by venam - 09-09-2020, 04:38 AM