Bad programming practices 101 : become a better coder by learning how (not) to program / Karl Beecher.

This book takes a humorous slant on the programming practice manual by reversing the usual approach: under the pretence of teaching you how to become the world's worst programmer who generally causes chaos, the book teaches you how to avoid the kind of bad habits that introduce bugs or cause co...

Full description

Saved in:
Bibliographic Details
Online Access: Full Text (via Springer)
Main Author: Beecher, Karl (Author)
Format: eBook
Language:English
Published: [Berkeley, Calif.] : Apress, [2018]
Subjects:

MARC

LEADER 00000cam a2200000xi 4500
001 b10151505
006 m o d
007 cr |||||||||||
008 180215s2018 cau obf 001 0 eng d
005 20240423172111.1
019 |a 1023487493  |a 1023583438  |a 1027028378  |a 1029061870 
020 |a 9781484234112  |q (electronic bk.) 
020 |a 1484234111  |q (electronic bk.) 
020 |z 9781484234105  |q (print) 
020 |z 1484234103 
024 7 |a 10.1007/978-1-4842-3411-2 
035 |a (OCoLC)spr1023425107 
035 |a (OCoLC)1023425107  |z (OCoLC)1023487493  |z (OCoLC)1023583438  |z (OCoLC)1027028378  |z (OCoLC)1029061870 
037 |a spr10.1007/978-1-4842-3411-2 
040 |a N$T  |b eng  |e rda  |e pn  |c N$T  |d GW5XE  |d N$T  |d EBLCP  |d YDX  |d UPM  |d OCLCF  |d UAB  |d SNK  |d OCLCQ  |d WAU 
049 |a GWRE 
050 4 |a QA76.6 
100 1 |a Beecher, Karl,  |e author.  |0 http://id.loc.gov/authorities/names/nb2018015647. 
245 1 0 |a Bad programming practices 101 :  |b become a better coder by learning how (not) to program /  |c Karl Beecher. 
264 1 |a [Berkeley, Calif.] :  |b Apress,  |c [2018] 
264 4 |c ©2018. 
300 |a 1 online resource (xxii, 221 pages) :  |b illustrations. 
336 |a text  |b txt  |2 rdacontent. 
337 |a computer  |b c  |2 rdamedia. 
338 |a online resource  |b cr  |2 rdacarrier. 
347 |a text file  |b PDF  |2 rda. 
504 |a Includes bibliographical references and index. 
505 0 |a Intro; Table of Contents; About the Author; About the Technical Reviewer; Acknowledgments; Introduction; Chapter 1: Learning to Program; Objectives; Introduction; Bad Ways to Learn Programming; Take a Pass on Practicing; Thumbs Down!; Avoid Inspiration; Thumbs Down!; Be a Script Kiddie; Do It Alone; Bad Ways to Choose Your Tools; Choose Inappropriately While a Beginner; Thumbs Down!; Obsess Far Too Much over Your Choices; Thumbs Down!; Be a Fashion Victim; Chapter 2: Layout and Structure; Objectives; Prerequisites; Introduction; Make Spacing Poor and Inconsistent; On the Level. 
505 8 |a Thumbs Down!; Spaced Out; Tabs and Spaces; Thumbs Down!; Clutter the Code; Unused Stuff; Dead Stuff; Disabled Stuff; Thumbs Down!; Write Bad Comments; No Comment!; Thumbs Down!; Code Parroting; Thumbs Down!; Out of Sync; Avoid Structured Programming; Jump Around; Routine Work; Thumbs Down!; Chapter 3: Variables; Objectives; Prerequisites; Introduction; Use Obscure Names-Thinking Up Meaningful Labels Isn't Worth the Effort; All Meaningless; Thumbs Down!; Vowel Movements; Thumbs Down!; Lazy Naming; Treat Variable Declaration Like a Waste of Time; Be Confusing; Thumbs Down! 
505 8 |a Be Contrarian; Maximize the Scope of Variables; Broad Scopes; Thumbs Down!; Going Global; Thoroughly Abuse the Type System; Turn Numbers into Secret Codes; Thumbs Down!; Strings Are Magic-They Can Pretend to Be Any Type; Thumbs Down!; Mix Things Up; Thumbs Down!; Null-The Harbinger of Doom; Null Checks; Seeding Disaster; Thumbs Down!; Chapter 4: Conditionals; Objectives; Prerequisites; Introduction; Forget the Alternatives; Or Else What?; Thumbs Down!; The Normal and the Exceptional; Thumbs Down!; Build a Ladder; Thumbs Down!; Abuse Expressions; Tortuous Expressions; Thumbs Down! 
505 8 |a Not Being Not Non-negative ... Not; Thumbs Down!; Include Gaps and Overlaps; Thumbs Down!; Chapter 5: Loops; Objectives; Prerequisites; Introduction; Choose the Wrong Type; Collections; Thumbs Down!; Ranges; Thumbs Down!; Arbitrary Iterations; Thumbs Down!; Have Fun with Infinite Loops; Citing the Masters; Thumbs Down!; Taking Precautions; Thumbs Down!; Make Inappropriate Exits; Break Out; Thumbs Down!; Make'em Looooong and Complex; Long Loops; Thumbs Down!; Complex Loops; Thumbs Down!; Chapter 6: Subroutines; Objectives; Prerequisites; Introduction; Super-Size Your Subroutines. 
505 8 |a Thumbs Down!; Put Up Barriers to Understanding; Bad Naming; Thumbs Down!; High Complexity; Thumbs Down!; Too Many Purposes; Thumbs Down!; (Ab)use Parameters; The More the Merrier; Thumbs Down!; Being Defensive; Thumbs Down!; Surreptitious Subroutines; Screw with Return Values; Return of the Harbinger; Thumbs Down!; Fun with Output Parameters; Thumbs Down!; Chapter 7: Error Handling; Objectives; Prerequisites; Introduction; Assume Everything Will Always Go Well; Don't Check; Don't Assert; Thumbs Down!; Don't Catch; Thumbs Down!; Send Problems Down the Memory Hole. 
520 |a This book takes a humorous slant on the programming practice manual by reversing the usual approach: under the pretence of teaching you how to become the world's worst programmer who generally causes chaos, the book teaches you how to avoid the kind of bad habits that introduce bugs or cause code contributions to be rejected. Why be a code monkey when you can be a chaos monkey? OK, so you want to become a terrible programmer. You want to write code that gets vigorously rejected in review. You look forward to reading feedback plastered in comments like "WTF???". Even better, you fantasize about your bug-ridden changes sneaking through and causing untold chaos in the codebase. You want to build a reputation as someone who writes creaky, messy, error-prone garbage that frustrates your colleagues. Bad Programming Practices 101 will help you achieve that goal a whole lot quicker by teaching you an array of bad habits that will allow you to cause maximum chaos. Alternatively, you could use this book to identify those bad habits and learn to avoid them. The bad practices are organised into topics that form the basis of programming (layout, variables, loops, modules, and so on). It's been remarked that to become a good programmer, you must first write 10,000 lines of bad code to get it all out of your system. This book is aimed at programmers who have so far written only a small portion of that. By learning about poor programming habits, you will learn good practices. In addition, you will find out the motivation behind each practice, so you can learn why it is considered good and not simply get a list of rules. You will: Become a better coder by learning how (not) to program Choose your tools wisely Think of programming as problem solving Discover the consequences of a program's appearance and overall structure Explain poor use of variables in programs Avoid bad habits and common mistakes when using conditionals and loops See how poor error-handling makes for unstable programs Sidestep bad practices related specifically to object-oriented programming Mitigate the effects of ineffectual and inadequate bug location and testing. 
588 0 |a Online resource; title from PDF title page (EBSCO, viewed February 16, 2018) 
650 0 |a Computer programming  |v Handbooks, manuals, etc.  |0 http://id.loc.gov/authorities/subjects/sh2007004297. 
650 7 |a Computer programming.  |2 fast  |0 (OCoLC)fst00872390. 
655 7 |a Handbooks and manuals.  |2 fast  |0 (OCoLC)fst01423877. 
776 0 8 |i Print version:  |a Beecher, Karl.  |t Bad programming practices 101.  |d [Berkeley, CA] : Apress, [2018]  |z 1484234103  |z 9781484234105  |w (OCoLC)1013171575. 
856 4 0 |u https://colorado.idm.oclc.org/login?url=http://link.springer.com/10.1007/978-1-4842-3411-2  |z Full Text (via Springer) 
907 |a .b101515054  |b 03-19-20  |c 06-26-18 
998 |a web  |b 07-11-18  |c g  |d b   |e -  |f eng  |g cau  |h 0  |i 1 
907 |a .b101515054  |b 07-02-19  |c 06-26-18 
944 |a MARS - RDA ENRICHED 
907 |a .b101515054  |b 07-11-18  |c 06-26-18 
915 |a I 
956 |a Springer e-books 
956 |b Springer Nature - Springer Professional and Applied Computing eBooks 2018 English International 
999 f f |i f4d0cac9-07de-502a-8970-0920171051df  |s 505632cb-cb21-59cf-80da-f8edf810f687 
952 f f |p Can circulate  |a University of Colorado Boulder  |b Online  |c Online  |d Online  |e QA76.6  |h Library of Congress classification  |i Ebooks, Prospector  |n 1