Personal channel of @lancern

Topics: programming, hacking, memes, life, and more. Forward anything as you wish.

Join the discussion group for more fun.

Discord: https://discord.gg/RwUx9et7
Programming Languages: Build, Prove, and Compare

Fashions in programming languages change continually. But the best way to stay up to date is not to study the latest fashion; it’s to master the timeless ideas that underlie all languages, even the most complicated.

This is the web site for Programming Languages: Build, Prove, and Compare: a text that distills timeless languages and their design ideas into easy-to-learn “bridge” languages implemented by interpreters whose key parts are explained in the text.

https://www.build-prove-compare.net/
今日午餐:海淀黄庄热啊餐厅
今日学习iPhone如何强制重启:

短按音量+ -> 短按音量- -> 长按电源

学费:两站地铁车费+40分钟时间损耗
又上完一周的班了。祝贺!
刚才才发现 std::span 没有 at 成员函数。

查了一下,原因是:

I actually proposed at() for std::span as part of P1024r0. It was soundly defeated in LEWG, 0|0|4|4|5.

I wasn’t there for the meeting, but from what I understand the feeling was that contracts (which at that time seemed highly likely for ‘20) were a better way to go for bounds checking, and that we should not be throwing exceptions for programmer errors like out-of-bounds access.

https://www.reddit.com/r/cpp/comments/djqdu2/why_is_stdspan_is_missing_at/ From the cpp community on Reddit
公司楼下的瑞幸爆单了

新单要一个半小时才能拿
?????
上周五都上过班了,为什么今天还要上班😡
Back to Top