Quick Recursion

Matuszek, David

  • 出版商: CRC
  • 出版日期: 2023-02-22
  • 語言: 英文
  • 頁數: 160
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1032417587
  • ISBN-13: 9781032417585
  • 立即出貨 (庫存 < 3)

買這商品的人也買了...

相關主題

商品描述

Recursion is the best tool for working with trees and graphs. But perhaps you've studied recursion and decided it's too complicated. You just can't think that way. That limits the kind of programming you can do.

Good news! Recursion is actually easy. It's just badly taught.

See, many instructors talk about how the computer does it. They go on and on about what happens at each level of the recursion, and how each level relates to other levels. The problem is that you can't think in multiple levels. Nobody can. And you don't have to.

This book will show you how you can write recursive programs. Once you understand a few simple rules, you will wonder why you ever thought recursion was complicated. You'll be able to write recursive programs quickly and easily.

Well, as quick and easy as programming ever is, anyway.

商品描述(中文翻譯)

遞迴是處理樹狀結構和圖形的最佳工具。但也許你已經學過遞迴並認為它太複雜了。你不能以這種方式思考,這會限制你的程式設計能力。

好消息!遞迴實際上很簡單,只是教學不當而已。

你看,很多教師談論電腦如何執行遞迴,他們冗長地解釋每個遞迴層級的運作方式,以及每個層級如何與其他層級相關。問題是你無法同時思考多個層級,沒有人可以。而且你也不需要這樣做。

這本書將向你展示如何撰寫遞迴程式。一旦你理解了幾個簡單的規則,你會想知道為什麼以前覺得遞迴很複雜。你將能夠快速且輕鬆地撰寫遞迴程式。

當然,這只是程式設計中的快速和輕鬆,不管怎樣都不會真的快速和輕鬆。

作者簡介

David L. Matuszek was Director of the Masters in Computer and Information Technology course at the University of Pennsylvania, USA (2001-2017). With 40 years teaching experience, and 45 years programming experience, David is skilled in both the design of innovative software systems and in teaching others how to master programming languages in an accessible and engaging way.

作者簡介(中文翻譯)

David L. Matuszek是美國賓夕法尼亞大學(2001-2017)計算機與資訊技術碩士課程的主任。擁有40年的教學經驗和45年的編程經驗,David在創新軟件系統的設計和以易於理解和引人入勝的方式教授他人如何掌握編程語言方面具有豐富的技能。