ebook img

New Programmer's Survival Manual: Navigate Your Workplace, Cube Farm, or Startup PDF

246 Pages·2011·2.862 MB·English
Save to my drive
Quick download
Download
Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.

Preview New Programmer's Survival Manual: Navigate Your Workplace, Cube Farm, or Startup

What Readers Are Saying About New Programmer’s Survival Manual Ilovethepragmatictoneandcontent. ➤ BobMartin President,ObjectMentor,Inc.,andauthorofTheCleanCoder Anexcellentoverviewofthe“bigpicture”andthemanyfacetsofsoftware developmentthatalotofnewdeveloperslack.Agreatprimerforstarting anexcitingcareerinsoftwaredevelopment. ➤ AndyKeffalas Softwareengineerandteamlead Afunny,honest,insidelookattheever-growing,ever-changingindustry ofwritingcode.IfyoujustgothandedyourCSdegree,thisbookisamust- have. ➤ SamRose Computersciencestudent,UniversityofGlamorgan ThisbookhaseverythingIshouldhavesoughtouttolearnwhenIstarted intheindustry.Amust-readfornewdevelopersandagoodreadfor everyoneintheindustry. ➤ ChadDumler-Montplaisir Softwaredeveloper New Programmer’s Survival Manual Navigate Your Workplace, Cube Farm, or Startup Josh Carter The Pragmatic Bookshelf Dallas, Texas • Raleigh, North Carolina Manyofthedesignationsusedbymanufacturersandsellerstodistinguishtheir productsareclaimedastrademarks.Wherethosedesignationsappearinthisbook, andThePragmaticProgrammers,LLCwasawareofatrademarkclaim,thedesig- nationshavebeenprintedininitialcapitallettersorinallcapitals.ThePragmatic Starter Kit, The Pragmatic Programmer, Pragmatic Programming, Pragmatic Bookshelf,PragProg and the linking g deviceare trademarksof The Pragmatic Programmers,LLC. Everyprecautionwastakeninthepreparationofthisbook.However,thepublisher assumesnoresponsibilityforerrorsoromissions,orfordamagesthatmayresult fromtheuseofinformation(includingprogramlistings)containedherein. OurPragmaticcourses,workshops,andotherproductscanhelpyouandyour teamcreatebettersoftwareandhavemorefun.Formoreinformation,aswellas thelatestPragmatictitles,pleasevisitusathttp://pragprog.com. Theteamthatproducedthisbookincludes: SusannahPfalzer(editor) PotomacIndexing,LLC(indexer) KimWimpsett(copyeditor) DavidJKelly(typesetter) JanetFurlow(producer) JulietBenda(rights) EllieCallahan(support) Copyright © 2011 Pragmatic Programmers, LLC. All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form, or by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior consent of the publisher. Printed in the United States of America. ISBN-13: 978-1-934356-81-4 Printed on acid-free paper. Book version: P1.0—November 2011 ForDariaandGenevieve. Contents Acknowledgments . . . . . . . . ix Introduction . . . . . . . . . xi Part I — Professional Programming 1. ProgramforProduction . . . . . . . 3 Tip1.BeatUpYourCode 6 Tip2.InsistonCorrectness 11 Tip3.DesignwithTests 21 Tip4.TameComplexity 27 Tip5.FailGracefully 35 Tip6.BeStylish 41 Tip7.ImproveLegacyCode 48 Tip8.ReviewCodeEarlyandOften 53 2. GetYourToolsinOrder . . . . . . . 59 Tip9.OptimizeYourEnvironment 61 Tip10.SpeakYourLanguageFluently 69 Tip11.KnowYourPlatform 77 Tip12.AutomateYourPainAway 83 Tip13.ControlTime(andTimelines) 87 Tip14.UsetheSource,Luke 92 viii • Contents Part II — People Skills 3. ManageThySelf . . . . . . . . 101 Tip15.FindaMentor 103 Tip16.OwntheImageYouProject 107 Tip17.BeVisible 110 Tip18.AceYourPerformanceReview 114 Tip19.ManageYourStress 121 Tip20.TreatYourBodyRight 127 4. Teamwork . . . . . . . . . 133 Tip21.GrokPersonalityTypes 135 Tip22.ConnecttheDots 141 Tip23.WorkTogether 144 Tip24.MeetEffectively 148 Part III — The Corporate World 5. InsidetheCompany . . . . . . . 155 Tip25.KnowYourPeeps 157 Tip26.KnowYour(Corporate)Anatomy 163 6. MindYourBusiness . . . . . . . 181 Tip27.GetwiththeProject 183 Tip28.AppreciatetheCircleof(aProduct’s)Life 189 Tip29.PutYourselfintheCompany’sShoes 200 Tip30.IdentifyCorporateAntipatterns 203 Part IV — Looking Forward 7. Kaizen . . . . . . . . . . 211 Tip31.MindYourHead 213 Tip32.NeverStopLearning 217 Tip33.FindYourPlace 222 A1. Bibliography . . . . . . . . . 227 Index . . . . . . . . . . 231 Acknowledgments First, I must thank my ever-patient editor, Susannah DavidsonPfalzer.Thisbookcouldn’thavehappenedwithout herclear-mindedguidance,wordsofencouragement,and occasionalswiftkickinthereartokeepmegoing.Susannah, thankyousomuchforhelpingthisfirst-timeauthorbring abooktolife. Next,numerousreviewersrangingfromnewprogrammers toindustryprosprovidedtremendoushelp.Theyread(or shouldIsay,endured)earlydraftsofthisbookandoffered theirownviewpoints,expertise,andcorrections.I’dliketo thankDanielBretoi,BobCochran,RussellChampoux,Javier Collado,GeoffDrake,ChadDumler-Montplaisir,KevinGisi, BrianHogan,AndyKeffalas,SteveKlabnik,RobertC.Mar- tin,RajeshPillai,AntonioGomesRodrigues,SamRose,Brian Schau,JulianSchrittwieser,TiborSimic,JenSpinney,Stefan Turalski,JuhoVepsäläinen,NickWatts,andChrisWright. Youhaveallmadethisbookfar,farbetterwithyourdiligent and thorough reviews. I—and every reader of this book—appreciateyourwork. Fromthebeginning,severalfriendsandco-workersallowed metopesterthemoverandoveragainforadvice,including JebBolding,Mark“TheRed”Harlan,ScottKnaster,David Olson,RichRector,andZzZimmerman.Itrulyappreciate yourpatience. Finally,anextra-specialthanksformytwobiggestfans.My daughter,Genevieve,gavemegracemany,manyevenings as I needed to duck away and write. And my wife, Daria, notonlygavemetimetowrite,butshewasthefirsttobuy and read the beta version of the book—in one sitting, no less, starting at ten at night. She offered her thoughts and x • Acknowledgments perspectivesincethisbookwasjustanideaIwaspondering over the dinner table. And she provided her support and encouragementthroughthewholeprocess. DariaandGenevieve,Icouldn’thavedoneitwithoutyou. Thankyoufromthebottomofmyheart.

See more

The list of books you might like

Most books are stored in the elastic cloud where traffic is expensive. For this reason, we have a limit on daily download.