Arne Mertz

arne-mertz.de · Personal blog · on HN since 2015

Arne Mertz writes about modern C++ practices, including idioms, static analysis, ranges, and code quality.

What HN saysHN links his April Fools post "Raw Pointers Are Gone", which readers struggled to tell from a real article, and his posts on C++ idioms.
26HN people shared it
7linked it in comments
84stories submitted
332story points
3 years agolast shared
2015people per year2026

Most-shared posts

  1. 1
    Raw Pointers Are Gone
    3 people · 1 points · first shared 2018 · discussion on HN
  2. 2
    Macro Evil in C++ Code
    2 people · 7 points · first shared 2019 · discussion on HN
  3. 3
    Ranges: The STL to the Next Level
    2 people · 6 points · first shared 2017 · 1 comments on HN
  4. 4
    Use a static analyzer or two
    2 people · 6 points · first shared 2016 · 1 comments on HN
  5. 5
    C++ Core Guidelines are not Rules
    2 people · 5 points · first shared 2024 · discussion on HN
  6. 6
    Smelly std::pair and std::tuple
    2 people · 4 points · first shared 2017 · 1 comments on HN
  7. 7
    Docker4c: Portable C++ Development Environment
    2 people · 4 points · first shared 2021 · discussion on HN
  8. 8
    Hello CMake
    2 people · 4 points · first shared 2018 · discussion on HN
  9. 9
    Terseness: How little is too much? (2018)
    2 people · 3 points · first shared 2019 · discussion on HN
  10. 10
    C++ is not an object oriented language
    2 people · 3 points · first shared 2015 · discussion on HN
  11. 11
    C++: RAII versus Exceptions
    2 people · 3 points · first shared 2016 · discussion on HN
  12. 12
    The PImpl Idiom
    2 people · 2 points · first shared 2019 · discussion on HN
  13. 13
    Passkey idiom
    2 people · first shared 2019
  14. 14
    Modern C++ Features – std::optional
    1 people · 86 points · first shared 2018 · 113 comments on HN
  15. 15
    C++ Fun with(out) keyword explicit
    1 people · 34 points · first shared 2015 · 18 comments on HN

What HN people wrote when they linked it

spacechild1 · 2022-04-01
One of my favourite april fool's jokes in tech: https://arne-mertz.de/2018/04/raw-pointers-are-gone/ It actually made it to the HN front page and people had a hard time deciding whether this was a joke or not: https://news.ycombinator.com/item?id=16727441
ur-whale · 2022-09-22
These are just examples to make a point. And: https://arne-mertz.de/2016/12/modern-c-features-attributes/
jhalstead · 2019-06-11
This reminds me of the Passkey idiom: https://arne-mertz.de/2016/10/passkey-idiom/
ryanianian · 2019-06-11
How is this different from the (relatively common afaik) passkey idiom https://arne-mertz.de/2016/10/passkey-idiom/ ?
cesarb · 2018-04-01
Having started using the Internet in the 90's, and thus still remembering Geocities-era websites, I loved that they did this as a webring (https://en.wikipedia.org/wiki/Webring): each blog post has a link to the next one, making a singly-linked circular list. Starting with this one, we have: - http://www.bfilipek.com/2018/04/deprecating-pointers.html - http://www.modernescpp.com/index.php/no-new-new - https://www.fluentcpp.com/2018/04/01/cpp-will-no-longer-have-pointers/ - https://blog.tartanllama.xyz/no-pointers/ - https://arne-mertz.de/2018/04/raw-pointers-are-gone/ And it circles back to this one.
signa11 · 2018-03-06
> All of this means that const actually provides zero guarantees about an object not being mutated (and even in the case where the object is directly constructed as const, that just means that it's undefined behavior when the object is mutated, not that the compiler actually protects against it being mutated). if this is the only reason why author thinks that const is a problem, then it is all good. you can do the same thing in C as well. and ofcourse, if you do that, and break things, you get to hold all the pieces as well :) probably a 'constexpr' semantics is what the author might be looking for ? arne-mertz article on mutable, available here: https://arne-mertz.de/2017/10/mutable/, which imho, is another side of the const-coin, is quite good as well. edit-001 : slight change.

Keyboard shortcuts

/Search
j kNext / previous blog
EnterOpen selected blog
vVisit the blog site
fFollow / unfollow
lSwitch grid / list view
dSwitch dark mode
g hHome
g pTop posts
g tTopics
g fFollowing
g lLiked
g yHistory
g qFAQ
EscBack / close