Fluent C: Principles, Practices, and Patterns (Paperback)
暫譯: 流暢的 C 語言:原則、實踐與模式 (平裝本)

Preschern, Christopher

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

相關主題

商品描述

Expert advice on C programming is hard to find. While much help is available for object-oriented programming languages, there's surprisingly little for the C language. With this hands-on guide, beginners and experienced C programmers alike will find guidance about design decisions, including how to apply them bit by bit to running code examples when building large-scale programs.

Christopher Preschern, a leading member of the design patterns community, answers questions such as how to structure C programs, cope with error handling, or design flexible interfaces. Whether you're looking for one particular pattern or an overview of design options for a specific topic, this book shows you how to implement hands-on design knowledge specifically for the C programming language.

You'll find design patterns for:

  • Error handling
  • Returning error information
  • Memory management
  • Returning data from C functions
  • Data lifetime and ownership
  • Flexible APIs
  • Flexible iterator interfaces
  • Organizing files in modular programs
  • Escaping #ifdef Hell

商品描述(中文翻譯)

專家對於 C 語言程式設計的建議很難找到。雖然對於物件導向程式語言有很多幫助,但對於 C 語言的資源卻意外地少。這本實用指南將幫助初學者和有經驗的 C 程式設計師,提供有關設計決策的指導,包括如何在構建大型程式時,逐步將這些決策應用於運行中的程式碼範例。

Christopher Preschern,設計模式社群的領先成員,回答了如何結構 C 程式、處理錯誤以及設計靈活介面的問題。無論你是在尋找特定的模式,還是想要了解某個主題的設計選項概覽,這本書都會教你如何針對 C 語言實施實用的設計知識。

你將會找到以下的設計模式:

- 錯誤處理
- 返回錯誤資訊
- 記憶體管理
- 從 C 函數返回資料
- 資料的生命週期與擁有權
- 靈活的 API
- 靈活的迭代器介面
- 在模組化程式中組織檔案
- 擺脫 #ifdef 地獄

作者簡介

Christopher Preschern is a leading member of the design patterns community. He actively takes part in the organization of design pattern conferences and in initiatives to improve pattern writing. As a C programmer at the company ABB he gathered and documented hands-on knowledge on how to write industrial strength code. He lectured at the technical university of Graz courses on coding & quality and he holds a PhD in computer science.

作者簡介(中文翻譯)

克里斯多福·普雷舍恩(Christopher Preschern)是設計模式社群的領導成員。他積極參與設計模式會議的組織以及改善模式撰寫的倡議。作為ABB公司的C程式設計師,他收集並記錄了如何撰寫工業級程式碼的實務知識。他曾在格拉茨技術大學(Technical University of Graz)教授有關程式設計與品質的課程,並擁有計算機科學的博士學位。