O'Reilly The Art of Readable Code

O'Reilly The Art of Readable Code

简介:

作为程序员,我们都见过如此丑陋和错误的源代码,它让我们的大脑疼痛。老实说,我们都写过这样的代码。通过这本书,你将学会编写易于阅读和理解的代码。你会有更多的乐趣,你的同事会爱你。

它专注于编程的螺母和螺栓,简单实用的技术,你可以使用每次你坐下来写代码。你会在整本书中找到一些技巧,包括易于理解的代码示例、有用的插图和有趣的漫画。

学习选择 “信息密集” 的变量名组织你的循环和条件,所以他们很容易理解让你的评论简短而甜蜜识别您的代码何时同时做太多事情编写简洁但彻底的测试掌握将困难问题分解成许多较小问题的艺术

英文简介:

As programmers, we've all seen source code that's so ugly and buggy it makes our brain ache. And let's be honest, we've all written code like that. With this book, you'll learn to write code that's easy to read and understand. You'll have more fun and your coworkers will love you.

It focuses on the nuts and bolts of programming, with simple and practical techniques you can use every time you sit down to write code. You'll find tips throughout the book, with easy-to-digest code examples, helpful illustrations, and cartoons for fun.

Learn to pick variable names that are "dense with information"Organize your loops and conditionals so they're easy to understandMake your comments short and sweetRecognize when your code is doing too many things at onceWrite tests that are concise, but thoroughMaster the art of breaking hard problems into many smaller ones

书名
O'Reilly The Art of Readable Code
译名
O'Reilly® 可读代码的艺术
语言
英语
年份
2012
页数
204页
大小
10.05 MB
标签
  • Ada
  • 下载
    pdf iconO'Reilly The Art of Readable Code.pdf
    密码
    65536

    最后更新:2025-04-12 23:54:36

    ←Essential Software Architecture

    →97 Things Every Software Architect Should Know: Collective Wisdom from the Experts