fuzion icon indicating copy to clipboard operation
fuzion copied to clipboard

require arg und result types on public features

Open michaellilltokiwa opened this issue 8 months ago • 1 comments

Should we require explicit type for all arguments and the result for public features? I think this would lead to more consistent style and increase readability.

michaellilltokiwa avatar Apr 23 '25 09:04 michaellilltokiwa

Missing argument types should definitely be forbidden, currently they should already cause an error unless there is a call to such a feature. As for result types: Yes, that would be good and the additional typing required is probably negligible.

fridis avatar Apr 23 '25 12:04 fridis