Jump to content

C Traps and Pitfalls

From Wikipedia, the free encyclopedia

This is an old revision of this page, as edited by Citation bot (talk | contribs) at 17:37, 15 February 2020 (Alter: author. Add: author-link. | You can use this bot yourself. Report bugs here. | Activated by User:Neko-chan | Category:Software bugs | via #UCB_Category). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

C Traps and Pitfalls
AuthorAndrew Koenig
LanguageEnglish
GenreNon-fiction
PublisherAddison-Wesley
Publication date
January 11, 1989
Publication placeUnited States
Media typePrint (hardcover)
ISBN0-201-17928-8

C Traps and Pitfalls is a slim computer programming book by former AT&T Corporation researcher and programmer Andrew Koenig, its first edition still in print in 2017, which outlines the many ways in which beginners and even sometimes quite experienced C programmers can write poor, malfunctioning and dangerous source code.

It evolved from an earlier technical report, by the same name, published internally at Bell Labs.[1] This, in turn was inspired by a prior paper given by Koenig on "PL/I Traps and Pitfalls" at a SHARE conference in 1977. Koenig wrote that this title was inspired by a 1968 science fiction anthology by Robert Sheckley, "The People Trap and other Pitfalls, Snares, Devices and Delusions, as Well as Two Sniggles and a Contrivance".[2]

References

  1. ^ Koenig, Andrew R., "C Traps and Pitfalls", Bell Telephone Laboratories, Murray Hill, New Jersey, Technical Memorandum.
  2. ^ Cf. Koenig, preface to "C Traps and Pitfalls" book.