Objective-C is a language like Smalltalk, but weakly, dynamically typed language. And I can note type of each message parameter at in-place optionally.
It’s important as a kind of documentation (at least for me). If optional type marking on method signiture is possible on Smalltalk, it should be great for me.
I don’t care about compiler LINT check. I’m wishing just a feature noting parameter types on the source code with regular syntax. Regular syntax or preprocessors. Please let me know anything.
No,
there is no such thing in standard Smalltalk. Quite often people choose parameter name that also hints it’s type like in:
move: anDisplacementInteger