Rust Tutorial - Functions

Опубликовано: 29 Август 2024
на канале: CodingCampfire
128
like

In this 3rd Episode of my Rust Tutorial, I cover basic functions. This includes:

The purpose of the main() function as the entry point to your code.
How to define a new function
Parameters and assigning a datatype
The return data type
Statements and Expressions
Improving the function to write idomatic Rust

The session includes a live coding demo, so you can follow along and write a simple function that adds two numbers together and prints out the result.

The first two sessions can be found at:

Ep.1 Installing Rust -    • Rust Tutorial - Install Rust and Hello, wo...  
Ep.2 Cargo and Crates -    • Rust Tutorial | Cargo and Crates.io  

Follow me on LinkedIn: www.linkedin.com/comm/mynetwork/discovery-see-all?usecase=PEOPLE_FOLLOWS&followMember=charles-roberts-678a0a49


На этой странице сайта вы можете посмотреть видео онлайн Rust Tutorial - Functions длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь CodingCampfire 29 Август 2024, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 128 раз и оно понравилось like зрителям. Приятного просмотра!