Late initialization in Mojo🔥 (Python doesn't support this)

preview_player
Показать описание
I teach a live, interactive program that'll help you build production-ready Machine Learning systems from the ground up. Check it out here:

To keep up with my content:

Рекомендации по теме
Комментарии
Автор

I think Python also supports it.

e.g.
grade: str # here

if age < 11:
grade = "Elementary"
...

# The code block remains the same

chineduezeofor
Автор

Thank you for your videos about mojo, I found them really interesting, hope you'll make new ones since the programming language is fire,
And your videos as well :)

vladisslave.
Автор

Really enjoying the mojo content. If grade never gets assigned a value does it return None? I know you have an else catch all but just curious.

Orgnn
join shbcf.ru