《Good Habits for Great Coding Improving Programming Skills with Examples in Python》读书笔记四

本文介绍了动态编程在编程教育中的重要性,通过实例演示如何通过解决复杂问题来培养技能。强调了通过实践和设计习惯培养动态规划能力,以及其在决策制定中的数学原理。引用书籍《Good Habits for Great Coding》探讨优秀编码习惯对程序员生产力的影响。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

  • Overview

    Page 181 - 314

    The art of formulating and solving problems using dynamic programming can be learned only through active participation by the student.
    — Stuart E. Dreyfus; The Art and Theory of Dynamic Programming

  • A Lesson in Design

  • Beware of OOP

  • The Evolution of a Function

  • Do Not Snub Inefficient Algorithms

  • Problems Worth Solving

  • Problem Solving

    The goal of this book is to inform you that professional programmers (and chess player and pianists) believe that certain habis have increased their productivity and reduced their frustrations.

  • Dynamic Programming

    Why introducing dynamic programming in a book for still-developing programmers?

    The answer is that we build skills for deriving and coding difficult algorithms by trying to derive and code difficult algorithms. That is the only way.

    The term dynamic programming in operations research refers to the mathematical theory of multi-stage decision making – i.e., making the best decisions at different stages of a process, usually by creating an optimal policy function.

    The word “programming” in “dynamic programming” means scheduling, or planning.

    It has been said that teaching by example is not just one way of teaching – it is the only way of teaching.

  • References

  1. Stueben, M. Good Habits for Great Coding. (Apress, 2018). doi:10.1007/978-1-4842-3459-4.
评论 6
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值