深入浅出程序设计(中文版)

Paul Barry, David Griffiths

出版时间

2012-03-01

ISBN

9787564129668

评分

★★★★★
书籍介绍
《深入浅出程序设计(中文版)》介绍了编写计算机程序的核心概念:变量、判断、循环、函数与对象——无论运用哪种编程语言,都能在动态且多用途的python语言中使用具体示例和练习来运用并巩固这些概念。学习基本的工具来开始编写你感兴趣的程序,而不是其他人认为你应该使用的通用软件,并对软件能做什么(不能做什么)有一个更好的了解。当你完成这些,你就拥有了必要的基础去使用任何一种你需要或想要学习的语言或软件项目。《深入浅出程序设计(中文版)》的特别之处在于:我们认为你的时间如此宝贵以至于不应该花费在为新概念伤脑筋上面。《深入浅出程序设计》用最新的认知科学和学习理论打造多感官的学习体验,运用适合大脑工作方式的直观的格式编排,而不是令人昏昏欲睡的密密麻麻的文字。
AI导读
核心看点
  • 以Python为例讲解变量、循环等核心概念
  • 采用Head First多感官设计,拒绝枯燥文字
  • 通过具体示例和练习巩固编程基础思维
适合谁读
  • 零编程基础,渴望轻松入门的初学者
  • 想理解通用编程逻辑,不拘泥于特定语言者
  • 喜欢图文并茂、互动式学习体验的读者
读前提醒
  • 本书侧重概念理解,非权威语法参考手册
  • 中文版翻译质量一般,建议对照英文原版
  • 务必动手完成书中练习,避免只看不练
读者共识
  • 被公认为最照顾初学者体验的编程入门书
  • 风格活泼有趣,能极大降低学习挫败感
  • 适合建立编程直觉,有基础者可能觉得浅

本导读基于书籍简介、目录、原文摘录、短评和书评生成,不等同于全文精读。

精彩摘录
  • "print('Welcome!') g = input('Guess the number: ') guess = int(g) if guess == 5: print('You win!') else: print('You lose!') print('Game over!')"
  • "The editor saves the code you write into a file on your hard disk.The code(sometimes called the source code) is just text, and it can be written and read by humans.But computers can't process text meant for humans, at least not very well.That's why we need a tool to translate the human-friendly sour"
  • "Fortunately,Python3 comes with a built-in application called IDLE,which does both jobs and more.IDLE enables you to write and edit Python code,it translates this code into binary form, and finally, it runs the Python3 program.Because of this,IDLE is known as an Integrated Development Environment."
  • "A path refers to the set of instructions that the computer will actually follow(or excute). Your code is like a street network, with lots of sections of code connected together just like the streets in a city.When you drive through a city, you make decisions as to which streets you drive down by tur"
  • "Your program makes a decision using a branch condition.A branch condition has the value true or false.If the branch condition is true,it runs the code on the branch.And if the branch condition is false,it runs the code on the false branch."
  • "Python uses indents to connect a sequence of commands together to form paths.So how you connect branches together?You simply indent the second branch in by one more level.(Intends matter in python.Be careful how you indent code in Python;if you don't indent your code correctly,your code might do som"
  • "Loops are a little like branches.Just like branches, loops have a condition(the loop condition)that is either true or false.Also,like the if part of branches,if the loop condition is true, then a loop will run a given piece of code.For a branch,this code is called the body.For a loop,it's called the"
  • "from random import randint secret=randint(1,10) print('Welcome!') guess=0 while guess!=secret: g=input('Guess the number:') guess=int(g) if guess==secret: print('You win!') else: if guess >secret: print('Too high!') else: print('Too low!') print('Game over!')"
用户评论
真的用心了,这本书非常关注读者体验,像一名贴心的指导者一样带着学习概念,知识和技巧,有互动环节和形象化的解释。不是简单地把知识罗列出来,而是像返璞归真的高手一样把知识形象地串了起来。
各门编程语言其实是想通的,包括statement, loop, function,加上库、面向对象之类,学会一门也就掌握了其他门。
比html css 翻译确实差了点
翻译质量很差,不建议买
入门基础,非常易懂,第一次接触编程的哪怕学其他语言的同学,可以先看看这本书,书里有大量图片辅助理解,最重要的是看这本书不需要有任何其他方面的基础。
还可以,适合入门
认知折叠,python好酷,而我现在工作用的C语音好土啊……
又名: 《当你学了Python后如何在十分钟看完这本书》 《为什么我在痛苦的编程入门时没有遇到她》 《并不Pythonic的Python''教程''》 《嗨,我是正经图片集》
下载
收藏