Matsuura Tomoya(Windows)
2698f011f6
All checks were successful
Build / build (push) Successful in 8m18s
17 lines
853 B
Markdown
17 lines
853 B
Markdown
|
||
#scrap #memo
|
||
|
||
[[uiua]]のドキュメントに貼ってあったもの
|
||
|
||
[Now I Am Become Perl —](https://vector-of-bool.github.io/2018/10/31/become-perl.html)
|
||
|
||
> You’ll also find when encountering a new syntax that you will immediately not understand, and instead wish for something much simpler. Non-C++ programers, for example, will raise an eyebrow at the following snippet:
|
||
|
||
```cpp
|
||
[&,=foo](auto&& item) mutable -> int { return item + foo.bar(something); }
|
||
```
|
||
|
||
> I remember my first encounter with C++ lambdas, and I absolutely _hated_ the syntax. It was foreign and unfamiliar, but other than that, my complaints stopped. I could have said “This is confusing,” but after having written C++ lambda expressions for years the above syntax has become second nature and very intuitive. **Do not confuse familiarity with simplicity.**
|
||
|
||
|