Giter Site home page Giter Site logo

dev-zuo / how-to-evaluate-xxx Goto Github PK

View Code? Open in Web Editor NEW
15.0 1.0 0.0 101 KB

从一名普通前端开发视角,评价前端或编程领域的技术人、网红。或者换个角度:"你对 xxx 的印象是?

License: MIT License

fe coder evaluate programer somebody

how-to-evaluate-xxx's Introduction

how-to-evaluate-xxx's People

Contributors

dev-zuo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

how-to-evaluate-xxx's Issues

如何评价方应杭?

我对方应杭印象比较深的两次,是在研究两个 JS 问题的时候。

let/const 也存在变量提升(hoisting)的问题

第一次是在 2021.07.24 号,看《你不知道的JavaScript(上卷)》这本书,并对着开源仓库 You-Dont-Know-JS -github 英文文档一起看时,发现第二版更新了一个问题。

就是书中第 33 页,有说 let 进行的声明不会在块作用域中进行提升。但英文第二版 ch5.scope-closures 中却提出 let/const 有进行提升。

于是找来阮一峰的 《es6 入门》在线链接对着看,发现他也是说 let 不存在提升。在评论区中看到了方应杭在 2017.06.29 在评论区的讨论。说明他在技术细节上确实做了思考,而且注意是 2017 年,到现在已经有快 6 年了,我那个时候还在一家小公司用 jQuery 写页面。

对应链接:let 和 const 命令 - ES6入门

let-hoisting-frankfang

这个问题,我还是比较倾向 You Dont Know JS 第二版中的解释,有提升,只是在没有初始化之前,不能使用。

书中给出的证明例子,下面的代码中如果 let studentName 并没有提升到块级作用域的顶部,那 studentName 应该是可以访问到外部 var 声明的 studentName 值的,但执行后并不能拿到。

first console.log(..) throws a TDZ error, because in fact, the inner scope's studentName was hoisted (auto-registered at the top of the scope)

var studentName = "Kyle";

{
    console.log(studentName); 
    // caught ReferenceError: Cannot access 'studentName' before initialization
 
    // ???

    // ..

    let studentName = "Suzy";

    console.log(studentName);
    // Suzy
}

完整解释:https://github.com/getify/You-Dont-Know-JS/blob/2nd-ed/scope-closures/ch5.md

JS 中 ?. 为什么不支持写(赋值)

第二次是在 2021.11.18 在研究这个问题时,在 tc39 对应的提案 issue 中找到了方应杭在 2019.08.22 参与讨论的记录,对他映像较好,能够仔细研究这个问题,并深入到 JS 标准提案的人,大概率是喜欢搞技术的,一般浮躁的开发者,不会出现在这里。

TC39 提案地址:https://github.com/tc39/proposal-optional-chaining

相关 issue:Should we include “optional property assignment” a?.b = c

optional-chaining-frankfang

我之前针对这个问题整理的笔记:JS 中 ?. 为什么不支持写(赋值) - 语雀

如何评价李立超?

来自群友 %& 的描述:"我从 html 到 vue 到 node 等等都是听的李立超"

但我真不知道他是谁,-_-

如何评价 全栈然叔,杨村长,bubucuo

个人认为,他们的github账号全是资料型,没有很牛的开源项目,技术呢,不好说。有没有亮点呢?有!vue3 contributor,听起来很厉害,
image
image

但是具体看他们贡献了啥?
https://github.com/vuejs/core/commits?author=57code
https://github.com/vuejs/core/commits?author=su37josephxia
水了两个单测

https://github.com/facebook/react/commits?author=bubucuo

靠着早工作了几年,现在纯粹培训割韭菜吧。或者可以说,自由职业

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.