Explicitly statically typed programming langagues
-
29-09-2019 - |
문제
I am curious.
I am interested in knowing if any languages exist like C++ and Java, in that the langauge is: (a) Explicitly (ie. not by inference) statically typed, (b) Object Oriented.
I am aware of D, but what others are people using?
Cheers
해결책
Objective-C, Eiffel, C#, AS3, Perl are some languages that springs to mind.
다른 팁
C# and Objective C come to mind.
C# 10. and 2.0 are explicitly-typed. Type inference was introduced in C# 3.0 with the var
keyword.
제휴하지 않습니다 StackOverflow