ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

Live Stellar Workshop, Week 2, Day 3

Автор: SM Web Systems

Загружено: 2026-03-01

Просмотров: 4

Описание: Welcome back to Week 2, Day 3 of the Live Stellar Workshop! As we continue our Rust Crash Course, we are shifting our focus to the core logic that drives our applications: Functions and Control Flow.

When designing robust financial systems architecture or writing smart contracts for the Stellar network (XLM), controlling the exact execution path of your program is essential for security and efficiency. In this session, we will learn how to modularize your code using functions, handle returning values, and direct your program's logic using Rust's powerful if/else expressions and loop constructs.

Course Resources & Links:
GitHub Repository (Code & Notes): https://github.com/smwebsystems/rust-...

📺 Watch the Full Workshop Playlist:    • Build, Learn & Deploy on Stellar - 8 Week ...  

What We Cover in This Session:
Anatomy of a Function: How to define functions, pass parameters, and understand scope.

Statements vs. Expressions: A crucial Rust concept for handling return values without the return keyword.

If/Else Expressions: Branching logic and using if in a let statement to assign variables conditionally.

Repetition with Loops: * loop: Executing code infinitely (and how to break out of it).

while: Running loops based on a condition.

for: The safest and most common way to iterate through collections like arrays.

Practical Coding: Applying control flow to real-world scenarios in our local Cargo environment.

Timestamps:

0:00 - Welcome Back & Day 2 Recap

4:15 - Defining Functions & Passing Parameters

12:30 - Statements vs. Expressions in Rust

18:45 - Returning Values from Functions

25:10 - Control Flow: If and Else Conditions

33:20 - Using If in a Let Statement

38:15 - Repetition: The loop Keyword & Returning Values from Loops

45:00 - Conditional Loops with while

51:30 - Iterating Safely with for Loops

58:00 - Q&A and Homework for Next Session

Homework: Check the GitHub repository for today's exercises. Write a function that uses a for loop to iterate through an array of data, incorporates an if/else check, and returns a specific value. Getting comfortable with these logic blocks is vital before we tackle Rust's Ownership model next!

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
Live Stellar Workshop, Week 2, Day 3

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

Музыка для работы за компьютером | Фоновая музыка для концентрации и продуктивности

Музыка для работы за компьютером | Фоновая музыка для концентрации и продуктивности

Live Stellar Workshop | Week 4, Day 3: Building a Guest Book Smart Contract

Live Stellar Workshop | Week 4, Day 3: Building a Guest Book Smart Contract

Async в runtime, тесты в беде, profiler в ловушке

Async в runtime, тесты в беде, profiler в ловушке

Дороничев: ИИ — пузырь, который скоро ЛОПНЕТ. Какие перемены ждут мир?

Дороничев: ИИ — пузырь, который скоро ЛОПНЕТ. Какие перемены ждут мир?

Is AI a Threat to Privacy?  | Prof G Conversations

Is AI a Threat to Privacy? | Prof G Conversations

Как установить Claude Code на Windows и создать свой первый сайт за 15 минут БЕЗ кода

Как установить Claude Code на Windows и создать свой первый сайт за 15 минут БЕЗ кода

Лучший Гайд по Kafka для Начинающих За 1 Час

Лучший Гайд по Kafka для Начинающих За 1 Час

STM32. Основы программирования STM32

STM32. Основы программирования STM32

Build on Stellar - How Soroban Uses WASM (4)

Build on Stellar - How Soroban Uses WASM (4)

КАК УСТРОЕН TCP/IP?

КАК УСТРОЕН TCP/IP?

Live Stellar Workshop | Week 3, Day 2

Live Stellar Workshop | Week 3, Day 2

Top 50 SHAZAM⛄Лучшая Музыка 2026⛄Зарубежные песни Хиты⛄Популярные Песни Слушать Бесплатно #84

Top 50 SHAZAM⛄Лучшая Музыка 2026⛄Зарубежные песни Хиты⛄Популярные Песни Слушать Бесплатно #84

Live Stellar Workshop | Week 3, Day 3:

Live Stellar Workshop | Week 3, Day 3:

Playlist,,Deep House,Music Played in Louis Vuitton Stores

Playlist,,Deep House,Music Played in Louis Vuitton Stores

GROK Показал AGI! Илон Маск ВЗОРВАЛ Индустрию ИИ! Grok СамоОбучается! Новый Уровень ИИ! В 100 РАЗ

GROK Показал AGI! Илон Маск ВЗОРВАЛ Индустрию ИИ! Grok СамоОбучается! Новый Уровень ИИ! В 100 РАЗ

Build on Stellar - Writing Your First Smart Contract P4

Build on Stellar - Writing Your First Smart Contract P4

Шульман: Почему держится режим в Иране, был ли Хаменеи легитимным и Трамп vs Вестфальская система

Шульман: Почему держится режим в Иране, был ли Хаменеи легитимным и Трамп vs Вестфальская система

24/7 Live Chillout Mix | Paradise Lounge Music for Ultimate Relaxation

24/7 Live Chillout Mix | Paradise Lounge Music for Ultimate Relaxation

Вся IT-база в ОДНОМ видео: Память, Процессор, Код

Вся IT-база в ОДНОМ видео: Память, Процессор, Код

40 самых прекрасных классических произведений для души и сердц ❄️ Моцарт, Шопен, Бетховен, Бах

40 самых прекрасных классических произведений для души и сердц ❄️ Моцарт, Шопен, Бетховен, Бах

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]