What's the technical term for things that are checked by a compiler vs things that aren't? private randomNumber():number { return 5; } The compiler checks whether the function returns a number, or it's accessed private only, but it won't care if it's called randomNumber or rn
25
3
1
6
Replying to @old_sound
Syntax vs semantics?

Nov 8, 2020 · 7:10 PM UTC

1
3
Replying to @stilkov
it's semantics, but semantics that matter to humans. A semicolon also has a "semantic" value for a compiler