If I were coming up with a new syntax today, I'd be tempted to put a deliberate marker in it.
"In funkylang, you declare functions with `funk foo() {}`."
miniblog.
Related Posts
Dependency management in Go: https://research.swtch.com/vgo-principles
There's a tradeoff between work for libraries (declare your minimum version/any incompatibilities) vs work for programs (investigate when dependencies aren't compatible). If programs are more common, should we empower them?
Interestingly, there are 4 separate ways you can declare a main() function without getting type warnings from Clang: