Refactoring Dead Code

未关闭
#903 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1 小时以内
新手友好度
55/100
Issue 类型
重构
描述清晰度
基本清楚
活跃度
停滞
技术栈
javascript

调研方向

阅读链接的 Sprint-3/3-dead-code 课程材料,并且只检查 coursework repository 中的该目录。识别练习所描述的未使用代码,遵循 repository 中展示的处理 dead code 的方法,并确认重构后该目录保持干净。

由索引模型根据 Issue 内容生成。

描述

🏝️ Priority Stretch 🐇 Size Small 📅 Sprint 3 Module-Structuring-And-Testing-Data Submit:PR
Link to the coursework

https://github.com/CodeYourFuture/Module-Structuring-and-Testing-Data/tree/main/Sprint-3/3-dead-code

Learning Objectives
  • Identify 'dead code' in an existing code base
  • Demonstrate how we handle 'dead code' in our codebases
Why are we doing this?

The presence of "dead code" can impact the efficiency and developer experience of a code repository. Learning to refactor code to be clean and efficient will help you be a better developer and future-proof your code.

Maximum time in hours

1

How to get help

Share your blockers in your class channel
https://curriculum.codeyourfuture.io/guides/getting-help/asking-questions/

How to submit
  1. In your fork of the coursework repo, checkout the main branch
  2. Make a new branch from main called coursework/sprint-3-dead-code
  3. Make regular small commits in this branch with clear messages.
  4. When you are ready, open a PR to the CYF repo, following the instructions in the PR template.

There are several directories in this repo. Make a new branch for each issue in each sprint. Only change files in the Sprint-3/3-dead-code directory.

Anything else?

No response

主要语言
JavaScript
星标
0
派生
397
PR 合并指标
30 天内没有已合并 PR

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

CodeYourFuture/Module-Structuring-and-Testing-Data 的其他 Issue

查看 CodeYourFuture/Module-Structuring-and-Testing-Data 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。