113 subscribers
34 photos
35 links
How to code?
@Lazymio
Download Telegram
没用的小知识: 怎样快速Abort😏
Authors can include data for inline client-side scripts or server-side site-wide scripts to process using the data-*="" attributes. These are guaranteed to never be touched by browsers, and allow scripts to include data on HTML elements that scripts can then look for and process.

From <https://html.spec.whatwg.org/multipage/introduction.html#introduction>
amazing!
Forwarded from Lazymio
连W3C都给周杰伦背书啦(溜
菱形继承
How2Code
菱形继承
所以说我真的讨厌 iostream 的设计
这是给人用的.jpg?
How2Code
Photo
也就是说下面这些都是等价的
location.protocol = "http"
location.protocol = "http:"
location.protocol = "http:::::::"
没用的小知识
草,传 char 是 UB
什么迷惑行为
FAIR dice roll!
用 Templates 前 : 从现在起,我就是黑魔法师
写 Templates 过程中 : 嗯?应该这样写吗?抽出 C++ Templates 赶紧看一眼
实现完后 : 草,这么扭曲,再写 modern C++ 自杀
现在 : 感觉还是有改进余地的,templates,真香
哭了 MSVC 真是天使,400行 MSVC c++17 的程序为了能在 g++5 c++14 上编译愣是改了快100行
另外有一点区别的是 MSVC 是按需编译,不用的类/函数不会编译,所以写错了也被放过了,但是 g++ 是全部来一遍,所以有些弹簧指就被暴露了(
Forwarded from Lazymio