02Geek HTML5 and JavaScript, TypeScript, React, Flash, ActionScript online School
Previous VideoNext Video

Classes

Looking at the name convention for Class Names.

Video Transcript

00:00Now with classes, it's not that different, and the biggest difference is only we want to start the first letter with an uppercase as well, like we did with our main, or my class, or my long wordy word class.
00:17Okay, so that would be my class one. Let me just have you guys there again.
00:22So we saw packages, lowercase, we saw functions, we start with lower, but then we camelcase.
00:28We have our classes, which I like, which is a standard, not only that I like, and it's really, really bad when you call a class named lowercase, because then it's really, really confusing to anyone else.
00:37Because when someone else looks at your class, they think it's an object, or they think it's a variable, and it's very, very, very confusing.
00:44Because everyone is really used to this standard, or a big, big portion of Flash developers are.

Ready to Level Up Your Skills?

Join thousands of learners on 02GEEK and start your journey to becoming a coding expert today!

Enroll Now for Free!