Below, I will share several optimization techniques in order of effectiveness. At the bottom, there will be a quick summary by category.
I used to think that splitting sub-components was for abstr...
...继续阅读
(44)
**本文为 The Art of Readable Code by Dustin Boswell and Trevor Foucher 的读书笔记**
能看懂的意思是能够改功能、加功能、debug,看懂所需时间越短越好。这甚至不一定是为了别人,如果你自己写出来的东西自己半年后都看不懂了,那就真的该反思一下了。
代码并不是越短越好,要衡量好可读性和简约的平衡。在需要使用忍者代码提高性能的时...
...继续阅读
(43)
本文翻译自 A Complete Guide to the Table Element,省略了部分小节。因为本文写于 2013 年,部分信息已经过时,我也作了小部分调整。另外,在一些不好理解的地方添加了一点解释。
`` 元素用于 HTML 表格数据展示,就像你在 Excel 里看到的那样。本质上,就是行和列。本文会告诉你如何和何时使用 ``,以及你需要懂的关于他的所...
...继续阅读
(46)
这里收集一些关于 TyranoScript 零散的信息或是使用技巧,以备太久不用忘掉之需。
tyrano.js 的这个函数,我一眼看上去,惊呼迷惑:
```javascript
function object(o) {
var f = object.f,
i,
len,
n,
prop;
f.prototype = o;
n = new f();
for (i =...
...继续阅读
(42)
Unconsciously, it has become quite long. If you can't finish reading it at once, I suggest you bookmark it! This article mainly explains the terms related to request status (cookie, session, token) a...
...继续阅读
(37)
Como todos sabemos, HTTP es un protocolo sin estado, lo que significa que el navegador y el servidor no pueden distinguir el contexto de una solicitud solo con la implementación del protocolo.
Aqu...
...继续阅读
(36)
**未完成,长期更新**
常指 Runtime system(区别于程序生命周期的 Runtime),也叫作 runtime environment。
> Most programming languages have some form of runtime system that provides an environment in which programs run. This ...
...继续阅读
(34)
One day, my boss said we needed a brand new UI, but luckily, I was prepared for it.
I've complained before that writing settings, CG, and other pages using TyranoScript is hard to understand, and it...
...继续阅读
(34)