The Rules of Programming : How to Write Better Code

This philosophy-of-programming guide presents a unique and entertaining take on how to think about programming. A collection of twenty-one pragmatic rules, each presented in a stand-alone chapter, captures the essential wisdom that every freshly minted programmer needs to know and provides thought-provoking insights for more seasoned programmers.

Author Chris Zimmerman, cofounder of the video game studio Sucker Punch Productions, teaches basic truths of programming by wrapping them in memorable aphorisms and driving them home with examples drawn from real code. This practical guide also helps managers looking for ways to train new team members.

The rules in this book include: As simple as possible, but no simpler; Let your code tell its own story; Localize complexity; Generalization takes three examples; Work backward from your result, not forward from your code; The first lesson of optimization is don't optimize; A good name is the best documentation; Bugs are contagious; Eliminate failure cases; Code that isn't running doesn't work; and Sometimes you just need to hammer the nails.

Kom igång med den här boken idag för 0 kr

  • Få full tillgång till alla böcker i appen under provperioden
  • Ingen bindningstid, avsluta när du vill
Prova gratis nu
Mer än 52 000 personer har gett Nextory 5 stjärnor i App Store och på Google Play.

Andra har också läst

Hoppa över listan
  1. Practical C++ Game Programming with Data Structures and Algorithms : Write high-performance code and solve game development challenges with expert-led C++ solutions

    Zhenyu George Li, Charles Shih-I Yeh

    book
  2. Unreal Engine 5 Game Development with C++ Scripting : Become a professional game developer and create fully functional, high-quality games

    Zhenyu George Li

    book
  3. Procedural Content Generation with Unreal Engine 5 : Harness the PCG framework to take your environment design and art skills to the next level

    Paul Martin Eliasz

    book
  4. 3D Graphics with XNA Game Studio 4.0

    James Sean

    book
  5. C++ Game Development By Example : Learn to build games and graphics with SFML, OpenGL, and Vulkan using C++ programming

    Siddharth Shekar

    book
  6. 15 Math Concepts Every Data Scientist Should Know : Understand and learn how to apply the math behind data science algorithms

    David Hoyle

    book
  7. Hands-On Unity Game Development : Unlock the power of Unity 2023 and build your dream game

    Nicolas Alejandro Borromeo, Juan Gabriel Gomila Salas

    book
  8. JavaScript : The Definitive Guide: Master the World's Most-Used Programming Language, 7th Edition

    David Flanagan

    audiobook
  9. Math for Grownups : Re-Learn the Arithmetic you Forgot from School so you can calculate how much that raise will really amount to, Figure out if that new fridge will actually fit, help a third grader with his fraction homework, and convert calories into cardio time

    Laura Laing

    book
  10. 5.0

    Mathematica : A Secret World of Intuition and Curiosity

    David Bessis

    audiobook
  11. The First Emperor of China

    Jonathan Clements

    audiobook
  12. 1.0

    Mathematics of Machine Learning : Master linear algebra, calculus, and probability for machine learning

    Tivadar Danka

    book

Relaterade kategorier