Type annotation can be greatly beneficial to use in your projects! It can improve the readability of your code, improves your coding efficiency, and it might even result in performance benefits if they are added in the future!
Ever wanted to learn Roblox Studio & scripting? Check out my course:
https://bit.ly/LuaScriptingCourse
Use code RBLX_DEV for 33% off!
Or check out my FREE course here!
https://linktr.ee/crusherfire
Timestamps:
0:00 Intro
0:20 Dynamically Typed Languages
0:35 Statically Typed Languages
0:54 Benefits of Type Annotation
2:10 Type Inferencing Modes
3:55 Parameter Type Annotation
6:00 Union Types
7:12 Type Refinement
7:59 Autofill
9:06 Variadic Types
9:41 Literal Types
10:55 Variable Type Annotation
11:59 Custom Types
13:34 Intersection Types
15:07 Function Type Annotation
17:19 Type Casting
19:51 Optional Function Parameters
21:53 Generics
28:28 Outro
Music used:
Parallel Synthesis by | e s c p | https://www.escp.space
Goodbye Ocean by | e s c p | https://www.escp.space
Happy scripting!