utterances bot

Results 2859 issues of utterances bot

# 异步渲染的下载和阻塞行为 | Harttle Land 在CSS/JS对DOM渲染的影响一文探讨了静态页面中的JavaScript/CSS的载入和解析对DOM渲染的影响。本文接着讨论异步渲染场景下JavaScript/CSS对DOM解析(Parsing)和渲染(Rendering)的影响。TL;DR 动... [https://harttle.land/2016/11/26/dynamic-dom-render-blocking.html](https://harttle.land/2016/11/26/dynamic-dom-render-blocking.html)

# Web Components 可用性调研 | Harttle Land Web Components 是 WHATWG 和 W3C 正在尝试的 Web 组件化方案,为组件化的 Web 前端开发提供浏览器级别的支持。Web Components 是一系列 Web 技术的集合,主要包括Shadow DOM、Custom El... [https://harttle.land/2017/02/08/web-components-survey.html](https://harttle.land/2017/02/08/web-components-survey.html)

# Vim、Tmux、系统共用剪切板 | Harttle Land 在 Tmux 终端复用 中介绍过 Tmux 的使用,当你同时有系统剪切板、Tmux Clipboard、Vim Yank Buffer 时互相拷贝是不是很困难?本文介绍如何让它们共用一个剪切板。 [https://harttle.land/2017/06/23/vim-tmux-clipboard.html](https://harttle.land/2017/06/23/vim-tmux-clipboard.html)

# Effective C++ 21:需要返回对象时,不要返回引用 | Harttle Land 永远不要返回局部对象的引用或指针或堆空间的指针,如果客户需要多个返回对象时也不能是局部静态对象的指针或引用。 [https://harttle.land/2015/08/18/effective-cpp-21.html](https://harttle.land/2015/08/18/effective-cpp-21.html)

# Item 12:完整地拷贝对象 | Harttle Land 在一个成熟的面向对象的C++系统中,只有两种拷贝对象的方式:复制构造函数和赋值运算符。当重载拷贝函数时,首先要完整复制当前对象的数据(local data);然后调用所有父类中对应的拷贝函数。 [https://harttle.land/2015/08/01/effective-cpp-12.html](https://harttle.land/2015/08/01/effective-cpp-12.html)

# Effective C++ 9:在析构/构造时不要调用虚函数 | Harttle Land 父类构造期间,对虚函数的调用不会下降至子类。如果这并非你的意图,请不要这样做! [https://harttle.land/2015/07/27/effective-cpp-9.html](https://harttle.land/2015/07/27/effective-cpp-9.html)

# Effective C++ 53:注意编译警告 | Harttle Land 请严肃对待所有warning,要追求最高warning级别的warning-free代码;但不要依赖于warning,可能换个编译器有些warning就不在了。 [https://harttle.land/2015/09/23/effective-cpp-53.html](https://harttle.land/2015/09/23/effective-cpp-53.html)

# Effective C++ 2:避免使用define | Harttle Land 尽量使用常量、枚举和内联函数,代替`#define`。 [https://harttle.land/2015/07/20/effective-cpp-2.html](https://harttle.land/2015/07/20/effective-cpp-2.html)

# 视口的宽高与滚动高度 | Harttle Land 很多场景下会需要在JavaScript中获取窗口或DOM元素的宽高,以及滚动高度。例如:实现滚动效果、创建全屏布局、动态绝对定位等等。本文就来介绍相关的DOM API:window.innerHeight, window.outerHeight,cl... [https://harttle.land/2016/04/24/client-height-width.html](https://harttle.land/2016/04/24/client-height-width.html)

# Bash 条件判断 | Harttle Land 其实本文不是介绍 条件分支语法 的,只介绍测试(test)语法,也就是说:本文只介绍如何写条件语法中的表达式。其实本文介绍的内容也并未针对 Bash,多数 Shell 都是适用的。与其他编程语言类似,if 的条件可以接受任何 表达式,计算为真就进入分... [https://harttle.land/2018/10/23/bash-test.html](https://harttle.land/2018/10/23/bash-test.html)