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 33 different styles for writing the term frequency task. The styles are grouped into nine categories: historical, basic, function composition, objects and object interactions, reflection and metaprogramming, adversity, data-centric, concurrency, and interactivity. The author verbalizes 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.
Le informazioni nella sezione "Riassunto" possono far riferimento a edizioni diverse di questo titolo.
"... the best programming book to come along in many years. ... Every chapter is a delight. ... Exercises in Programming Style is an instant classic. I honestly cannot think of a more enlightening and more valuable text that’s been published since the turn of the century. The hardest part about reviewing it is coming up with a way to say ‘Every developer should read this book’ in a way that doesn’t come across as clichéd and rote. Seriously. Every developer should read this book."
―Larry O’Brien, "Code Watch: The best programming book of the decade," Software Development Times, July 29, 2015
A 2014 Best of Computing Notable Book
"Lopes presents a simple problem (determining word frequency in a text) and then generates 33 solutions (all in the Python language) that are markedly different. The commentary for each concisely and clearly states the reasons why the approach under consideration might be a good one, or at least why it is of interest historically. She states that the code 'is for everyone who enjoys the art of programming,' and as one of those people I thank her for this book. ... The book can also serve as a primer or a refresher for those who are not taking a course, but who are interested in either the history of languages or the wealth of ideas that are embedded in languages. It is easy to read, and the reader can easily understand from the examples and descriptions why the various ideas embedded in the examples are (or in some cases were) important."
―David Barnard, ACM Computing Reviews, February 2015
"This is the most important book on programming in the last 20 years."
―James Noble, Victoria University of Wellington, New Zealand
"Exercises in Programming Style is an instant classic. In the spirit of Queneau’s Exercises in Style, Cristina examines a common programming problem though the lens of different programming styles, each shaped by different constraints. It is often said that great writers read, and so it may be said of great programmers: they read and learn from the style of others. Cristina’s book offers a most rewarding journey through the landscape of languages and idioms and will help professional programmers advance their craft."
―Grady Booch, IBM Fellow, Chief Scientist for Software Engineering, IBM Research
"It is difficult to appreciate a programming style until you see it in action. Cristina's book does something amazing: it shows us dozens of styles in action on the same program. The program itself is simple. The result, though, is a deeper understanding of how thinking differently about a problem gives rise to very different programs. This book not only introduced me to several new styles of thinking. It also taught me something about the styles I already knew well and use everyday. Raymond Queneau would be proud."
―Eugene Wallingford, Associate Professor, Department of Computer Science, University of Northern Iowa
Historical
Good Old Times
Go Forth
Basic Styles
Monolithic
Cookbook
Pipeline
Code Golf
Function Composition
Infinite Mirror
Kick Forward
The One
Objects and Object Interaction
Things
Letterbox
Closed Maps
Abstract Things
Hollywood
Bulletin Board
Reflection and Metaprogramming
Introspective
Reflective
Aspects
Plugins
Adversity
Constructivist
Tantrum
Passive Aggressive
Declared Intentions
Quarantine
Data-Centric
Persistent Tables
Spreadsheet
Lazy Rivers
Concurrency
Actors
Dataspaces
Map Reduce
Double Map Reduce
Interactivity
Trinity
Restful
Le informazioni nella sezione "Su questo libro" possono far riferimento a edizioni diverse di questo titolo.
Da: ThriftBooks-Atlanta, AUSTELL, GA, U.S.A.
Paperback. Condizione: Good. No Jacket. Pages can have notes/highlighting. Spine may show signs of wear. ~ ThriftBooks: Read More, Spend Less. Codice articolo G1482227371I3N00
Quantità: 1 disponibili
Da: ThriftBooks-Atlanta, AUSTELL, GA, U.S.A.
Paperback. Condizione: Very Good. No Jacket. May have limited writing in cover pages. Pages are unmarked. ~ ThriftBooks: Read More, Spend Less. Codice articolo G1482227371I4N00
Quantità: 1 disponibili
Da: ThriftBooks-Dallas, Dallas, TX, U.S.A.
Paperback. Condizione: Very Good. No Jacket. May have limited writing in cover pages. Pages are unmarked. ~ ThriftBooks: Read More, Spend Less. Codice articolo G1482227371I4N00
Quantità: 1 disponibili
Da: World of Books (was SecondSale), Montgomery, IL, U.S.A.
Condizione: Good. Item in good condition. Textbooks may not include supplemental items i.e. CDs, access codes etc. Codice articolo 00090920391
Quantità: 1 disponibili
Da: HPB-Red, Dallas, TX, U.S.A.
Paperback. Condizione: Acceptable. Connecting readers with great books since 1972. Used textbooks may not include companion materials such as access codes, etc. May have condition issues including wear and notes/highlighting. We ship orders daily and Customer Service is our top priority! Codice articolo S_440893890
Quantità: 1 disponibili
Da: AwesomeBooks, Wallingford, Regno Unito
paperback. Condizione: Very Good. Exercises in Programming Style This book is in very good condition and will be shipped within 24 hours of ordering. The cover may have some limited signs of wear but the pages are clean, intact and the spine remains undamaged. This book has clearly been well maintained and looked after thus far. Money back guarantee if you are not satisfied. See all our books here, order more than 1 book and get discounted shipping. Codice articolo 7719-9781482227376
Quantità: 2 disponibili
Da: HPB-Emerald, Dallas, TX, U.S.A.
paperback. Condizione: Very Good. Connecting readers with great books since 1972! Used books may not include companion materials, and may have some shelf wear or limited writing. We ship orders daily and Customer Service is our top priority! Codice articolo S_445906741
Quantità: 1 disponibili
Da: Bahamut Media, Reading, Regno Unito
paperback. Condizione: Very Good. This book is in very good condition and will be shipped within 24 hours of ordering. The cover may have some limited signs of wear but the pages are clean, intact and the spine remains undamaged. This book has clearly been well maintained and looked after thus far. Money back guarantee if you are not satisfied. See all our books here, order more than 1 book and get discounted shipping. Codice articolo 6545-9781482227376
Quantità: 1 disponibili
Da: WorldofBooks, Goring-By-Sea, WS, Regno Unito
Paperback. Condizione: Very Good. The book has been read, but is in excellent condition. Pages are intact and not marred by notes or highlighting. The spine remains undamaged. Codice articolo GOR009063204
Quantità: 1 disponibili
Da: SAVERY BOOKS, Brighton, East Sussex, Regno Unito
Soft cover. Condizione: Very Good Plus. SOFTCOVER 2014. xxi+282 pages. 23x15.5cm. Clean & tight. No inscriptions. Flat pages. Flat spine. Dispatched ROYAL MAIL FIRST CLASS with TRACKING next working day or sooner securely boxed in cardboard. ref rtsdam. Codice articolo 033682
Quantità: 1 disponibili