Simplify code with 'if constexpr' in C++17 | Hacker News Reader