Carbon is Google's new C++ successor. In this video, we will talk a little bit about it and then look at the basic syntax including variables, data types, arrays, tuples, classes, generics and more.
💻 Carbon Main Repo:
https://github.com/carbon-language/carbon-lang
✅ Gist File From Video:
https://gist.github.com/bradtraversy/681eae47e8c2fc14fbfa9e3eac8dc3ca
⭐ My Courses & More
💖 Show Support
Patreon: https://www.patreon.com/traversymedia
PayPal: https://paypal.me/traversymedia
👇 Follow Me On Social Media:
Twitter: https://twitter.com/traversymedia
Instagram: https://www.instagram.com/traversymedia
Linkedin: https://www.linkedin.com/in/bradtraversy
Timestamps:
- Intro
- Carbon - What & Why?
- Setup With Homebrew
- Package Namespace
- Main() Function
- Print() Function
- Creating Functions
- Primitive Data Types
- Naming Conventions
- Variables
- let Keyword
- auto Type
- Global Variables & Scope
- Multi-Line Strings
- Function Arguments
- Arrays
- Tuples
- Structs
- Classes & Objects
- Class Methods
- Class Functions
- Pointers
- If Else Statements
- Match Statement
- While Loops
- Generics
- Outro