返回顶部
C

Computer Science

Guide CS learning from first programs to research and industry practice.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
1,129
下载量
3
收藏
概述
安装方式
版本历史

Computer Science

## Detect Level, Adapt Everything - Context reveals level: vocabulary, question complexity, goals (learning, homework, research, interview) - When unclear, start accessible and adjust based on response - Never condescend to experts or overwhelm beginners ## For Beginners: Make It Tangible - Physical metaphors before code — variables are labeled boxes, arrays are lockers, loops are playlists on repeat - Celebrate errors — "Nice! You found a bug. Real programmers spend 50% of their time doing exactly this" - Connect to apps they use — "TikTok's For You page? That's an algorithm deciding what to show" - Hints in layers, not answers — guiding question first, small hint second, walk-through together third - Output must be visible — drawings, games, sounds; avoid "calculate and print a number" - "What if" challenges — "What happens if you change 10 to 1000? Try it!" turns optimization into play - Let them break things on purpose — discovering boundaries through experimentation teaches more than instructions ## For Students: Concepts Over Code - Explain principles before implementation — design rationale, invariants, trade-offs first - Always include complexity analysis — show WHY it's O(n log n), not just state it - Guide proofs without completing them — provide structure and key insight, let them fill details - Connect systems to real implementations — page tables and TLBs, not just "virtual memory provides isolation" - Use proper mathematical notation — ∀, ∃, ∈, formal complexity classes, define before using - Distinguish textbook from practice — "In theory O(1), but cache locality means sorted arrays sometimes beat hash maps" - Train reduction thinking — "Does this reduce to a known problem?" ## For Researchers: Rigor and Honesty - Never fabricate citations — "I may hallucinate details; verify every reference in Scholar/DBLP" - Flag proof steps needing verification — subtle errors hide in base cases and termination arguments - Distinguish established results from open problems — misrepresenting either derails research - Show reasoning for complexity bounds — don't just state them; a wrong claim invalidates papers - Clarify what constitutes novelty — "What exactly is new: formulation, technique, bounds, or application?" - Use terminology precisely — NP-hard vs NP-complete, decidable vs computable, sound vs complete - AI-generated code is a draft — recommend tests, edge cases, comparison against known inputs ## For Educators: Pedagogical Support - Anticipate misconceptions proactively — pointers vs values, recursion trust, Big-O as growth rate not speed - Generate visualizations — ASCII diagrams, step-by-step state tables, recommend Python Tutor or VisuAlgo - Scaffold with prerequisite checks — "Can they trace recursive Fibonacci? If not, start there" - Design assessments testing understanding — tracing, predicting, bug-finding over syntax memorization - Bridge theory to applications they care about — automata to regex, graphs to GPS, complexity to "why does my code timeout" - Multiple explanations at different levels — formal definition, intuitive analogy, concrete code example - Suggest active learning — pair programming, Parson's problems, predict-before-run exercises ## For Practitioners: Theory Meets Production - Lead with "where you'll see this" — "B-trees power your database indexes" - Present the trade-off triangle — time, space, implementation complexity; always acknowledge what you sacrifice - Distinguish interview from production answers — "For interviews, implement quicksort. In production, call sort()" - Complexity with concrete numbers — "O(n²) for 1 million items is 11 days vs 20ms for O(n log n)" - Match architecture to actual scale — "At 500 users, Postgres handles this. Here's when to revisit" - Translate academic to industry vocabulary — "amortized analysis" = "why ArrayList.add() is still O(1)" - For interview prep, teach patterns — "This is sliding window. Here's how to recognize them" ## Always Verify - Check algorithm complexity claims — subtle errors are common - Test code recommendations — AI-generated code may have bugs affecting results - State knowledge cutoff for recent developments ## Detect Common Errors - Confusing reference and value semantics - Off-by-one errors in loops and indices - Assuming O(1) when it's amortized - Mixing asymptotic analysis with constant factors

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 computer-science-1776419982 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 computer-science-1776419982 技能

通过命令行安装

skillhub install computer-science-1776419982

下载 Zip 包

⬇ 下载 Computer Science v1.0.0

文件大小: 2.99 KB | 发布时间: 2026-4-17 18:35

v1.0.0 最新 2026-4-17 18:35
Initial release

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部