Blogs / Personal blogs

Arthur O'Dwyer

quuxplusone.github.io

Popular posts
11
Total points
5,320
HN comments
3,179
Rank
#194 personal

Visit quuxplusone.github.io → On Hacker News Nov 2019 – Jul 2025

Software Engineering 9Programming Languages 6Systems & Performance 2Web & Frontend 1Math & Algorithms 1History & Retro Computing 1

1

Slack’s new WYSIWYG input box is terrible

Slack has just recently rolled out a “WYSIWYG text input” widget to its Web browser interface. (Apparently, the phased rollout started at the beginning of November 2019, but it’s just now starting to hit the workspaces that I participate in.) The user experience of using this new input method is really, really, really…

4

Phrase origin: Why do we "call" functions?

On StackExchange, someone asks why programmers talk about “calling” a function. Several possible allusions spring to mind: Calling a function is like calling on a friend — we go, we stay a while, we come back. Calling a function is like calling for a servant — a summoning to perform a task. Calling a function is like…

8

Const all the things?

Last week someone posted a /r/cpp thread titled “Declaring all variables local to a function as const”: Ok, so I’m an old-school C++ programmer using the language now since the early ’90s. I’m a fan of const-correctness for function and member declarations, parameters, and the like. Where, I believe, it actually…

9

Escape analysis hates copy elision (2021)

Yesterday Lauri Vasama showed me this awesome Godbolt: struct S { static std::unique_ptr<S> make() noexcept; ~S(); static std::unique_ptr<S> factory() { std::unique_ptr<S> s = S::make(); return M(s); } }; void take_ownership(S*) noexcept; void test() { std::unique_ptr<S> p = S::factory()…