Hacker News new | ask | show | jobs
by maleldil 429 days ago
You can use `if (response := get_user_input()) is not None` if that's important. IME, empty strings and None would be treated the same way.