找回密碼
 To register

QQ登錄

只需一步,快速開始

掃一掃,訪問微社區(qū)

打印 上一主題 下一主題

Titlebook: Good Habits for Great Coding; Improving Programmin Michael Stueben Book 2018 Michael Stueben 2018 coding advice.coding style.programming ph

[復制鏈接]
樓主: Racket
21#
發(fā)表于 2025-3-25 06:27:42 | 只看該作者
https://doi.org/10.1007/978-1-4842-0343-9One way to self-document your code is to use top-down design, a form of structured programming also called step-wise refinement. In this style, the main function contains function calls with descriptive English names—e.g., enterData(), computeData(), and printData(). The function calls form an outline of what the code does. They tell a story.
22#
發(fā)表于 2025-3-25 11:35:06 | 只看該作者
23#
發(fā)表于 2025-3-25 15:10:48 | 只看該作者
24#
發(fā)表于 2025-3-25 19:16:57 | 只看該作者
MATLAB? Recipes for Earth SciencesMr. Sokolsky rose from his desk and moved to the computer console in the front of the classroom. This was his fourth day of teaching the Advanced Computer Science class at Smallville High School. He had taken over for Pam Jones, who was on medical leave. Mr. Sokolsky faced a sea of unsmiling faces.
25#
發(fā)表于 2025-3-25 23:51:08 | 只看該作者
26#
發(fā)表于 2025-3-26 02:39:55 | 只看該作者
27#
發(fā)表于 2025-3-26 05:06:12 | 只看該作者
Coding TricksMastering the skill of analyzing [chess positions] requires a massive amount of practice and hard work.
28#
發(fā)表于 2025-3-26 09:57:32 | 只看該作者
StyleThe hard-science people rarely know how to write, and most of them don’t know how to program either; they’re taught how to code up an algorithm, not how to write a maintainable computer program.
29#
發(fā)表于 2025-3-26 14:24:33 | 只看該作者
More Coding TricksIt has often been said that a person does not really understand something until he teaches it to someone else. Actually, a person does not really understand something until he can teach it to a computer, i.e., express it as an algorithm.
30#
發(fā)表于 2025-3-26 19:03:30 | 只看該作者
Function DesignMost of the time you want to create functions that do only one task. No multi-purpose functions—most of the time.
 關于派博傳思  派博傳思旗下網站  友情鏈接
派博傳思介紹 公司地理位置 論文服務流程 影響因子官網 吾愛論文網 大講堂 北京大學 Oxford Uni. Harvard Uni.
發(fā)展歷史沿革 期刊點評 投稿經驗總結 SCIENCEGARD IMPACTFACTOR 派博系數(shù) 清華大學 Yale Uni. Stanford Uni.
QQ|Archiver|手機版|小黑屋| 派博傳思國際 ( 京公網安備110108008328) GMT+8, 2025-10-9 09:44
Copyright © 2001-2015 派博傳思   京公網安備110108008328 版權所有 All rights reserved
快速回復 返回頂部 返回列表
炉霍县| 休宁县| 自贡市| 阿瓦提县| 雷波县| 玉树县| 贺兰县| 横山县| 兴文县| 七台河市| 乐平市| 高平市| 黑河市| 阿合奇县| 大庆市| 沾益县| 亳州市| 宜良县| 巴东县| 六安市| 望谟县| 东辽县| 华坪县| 河曲县| 梁河县| 安多县| 凤庆县| 通海县| 合江县| 舞阳县| 息烽县| 麦盖提县| 清水县| 玉屏| 珲春市| 陆川县| 昭觉县| 阳江市| 长寿区| 旬阳县| 唐山市|