CodeYourFuture / CodeYourFuture/Checkpoint

Practise your technical interview

未关闭
#17 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
🏕 Priority Mandatory 🐂 Size Medium
主要语言
JavaScript
星标
2
派生
62
平均合并
2 天 1 小时
30 天内合并 PR
1

描述

### Link to the coursework

https://www.codewars.com/collections/cyf-js3

### Why are we doing this?

In your technical interview, which will be fifteen minutes long, you may be asked to refactor code from your project. A good way to practice this is with Codewars.

1. Complete a kata.
2. Now complete it again, but using a different approach.

## Some possible refactors

- Extract a function
- Organise your code so all the variables are defined, then the functions, then the logic
- Rewrite as a fat arrow function
- Rewrite a loop to a map
- Rewrite with higher order functions, or refactor higher order functions to loops
- Rewrite as a recursive function

### Maximum time in hours

1

### How to submit

This is for your own practice. No submission step.

贡献指南

打开贡献指南

调研方向

打开链接的 Codewars JavaScript 集合并选择一个 kata。完成一次,然后再使用不同的方法完成一次,例如函数提取、map、递归或高阶函数。这是个人练习,因此没有需要验证的仓库提交或代码更改。

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

评估

技术栈
javascript
领域
content
Issue 类型
文档
难度
1/5
预计耗时
1 小时以内
活跃度
停滞
描述清晰度
描述清楚
新手友好度
35/100

把新 issue 发到你的邮箱

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