The todo keyword https://gleam.run/book/tour/todo.html is brilliant. Are there any other languages that have this?
Haskell has "typed holes": https://downloads.haskell.org/~ghc/7.10.1/docs/html/users_gu...
Elm's compiler will prevent you from creating a production application with a `Debug.todo` still in place.
It's just a code comment, but by default Credo will exit non-zero if it sees one so if Credo is part of your CI pipeline it will fail it by default.
I'm one of those annoying people who puts # TODO comments all over my code though, so I set Credo so that TODO's wouldn't fail the build.
def foo(bar, baz):
...
is a valid (empty) python functionie: from typing import Any, NoReturn
def foo(bar: Any, baz: Any) -> NoReturn:
raise NotImplementedError