如何评价xxx,从一名普通前端开发视角,评价前端或编程领域的技术人、网红。
如果觉得 "如何评价xxx" 容易引战,可以把这个问题换个角度,比如 "你对 XXX 的印象是?"
从一名普通前端开发视角,评价前端或编程领域的技术人、网红。或者换个角度:"你对 xxx 的印象是?
License: MIT License
如何评价xxx,从一名普通前端开发视角,评价前端或编程领域的技术人、网红。
如果觉得 "如何评价xxx" 容易引战,可以把这个问题换个角度,比如 "你对 XXX 的印象是?"
我对方应杭印象比较深的两次,是在研究两个 JS 问题的时候。
第一次是在 2021.07.24 号,看《你不知道的JavaScript(上卷)》这本书,并对着开源仓库 You-Dont-Know-JS -github 英文文档一起看时,发现第二版更新了一个问题。
就是书中第 33 页,有说 let 进行的声明不会在块作用域中进行提升。但英文第二版 ch5.scope-closures 中却提出 let/const 有进行提升。
于是找来阮一峰的 《es6 入门》在线链接对着看,发现他也是说 let 不存在提升。在评论区中看到了方应杭在 2017.06.29 在评论区的讨论。说明他在技术细节上确实做了思考,而且注意是 2017 年,到现在已经有快 6 年了,我那个时候还在一家小公司用 jQuery 写页面。
这个问题,我还是比较倾向 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
第二次是在 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
我之前针对这个问题整理的笔记:JS 中 ?. 为什么不支持写(赋值) - 语雀
相关链接:如何评价【程序员鱼皮】?
技术胖 B 站 40w 粉 UP,https://space.bilibili.com/165659472
个人简介:个人14年程序员,立志10年出1000集免费视频教程,每年出100集视频。和新手程序员一起学习成长。
余胜军 97年,B 站粉丝 5.9w,抖音:12.6w
相关链接:如何评价架构师余胜军写的开源新零售项目,并登上了gitee排行榜热搜第一?
相关链接:贺师俊与360的劳动争议诉讼
来自群友 %& 的描述:"我从 html 到 vue 到 node 等等都是听的李立超"
但我真不知道他是谁,-_-
个人认为,他们的github账号全是资料型,没有很牛的开源项目,技术呢,不好说。有没有亮点呢?有!vue3 contributor,听起来很厉害,
但是具体看他们贡献了啥?
https://github.com/vuejs/core/commits?author=57code
https://github.com/vuejs/core/commits?author=su37josephxia
水了两个单测
https://github.com/facebook/react/commits?author=bubucuo
靠着早工作了几年,现在纯粹培训割韭菜吧。或者可以说,自由职业
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.