Exercises in Programming Style (Paperback)

Cristina Videira Lopes

買這商品的人也買了...

相關主題

商品描述

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.

商品描述(中文翻譯)

《程式設計風格練習》這本書以一個簡單的計算任務(詞頻)來展示不同的程式設計風格,幫助讀者理解撰寫程式和設計系統的各種方式。該書設計成與線上程式碼庫中提供的程式碼一起使用。這本書以易於理解的方式補充和解釋原始程式碼,適合任何經常從事程式設計的人閱讀。此外,該書也可用於計算機科學和軟體工程課程的高階程式設計課程。

該書包含了33種不同的詞頻任務程式設計風格。這些風格分為九個類別:歷史、基本、函數組合、物件和物件互動、反射和元程式設計、逆境、資料導向、並行和互動。作者對每種風格的限制進行了說明,並解釋了示例程式。每個章節首先介紹風格的限制,接著展示一個示例程式,然後詳細解釋程式碼。大多數章節還有專注於該風格在系統設計中的應用的部分,以及描述該程式設計風格出現的歷史背景的部分。