Skip to main content

第十八周

2022-09-26 ~ 2022-10-02

Algorithm1

打家劫舍

Algorithm2

除自身以外数组的乘积

Review

Your CTO Should Actually Be Technical

这篇文章提出了 cto 必须是精于技术的观点,其中列举了一些因为技术能力带来的一些工作上的便利。

这里有一些不同观点的讨论: https://news.ycombinator.com/item?id=32987094

Tips

beginners-typescript-tutorial

复习一下 typescript 常见的使用场景,其中对于 catch 的处理也是相对比较灵活的,catch 的内容默认是 unknown 类型,通过 instanceof Error 可以让它被 ts 推断为 Error 类型