Sukiru
Explore posts from serversMModular
•Created by Sukiru on 4/22/2024 in #questions
def in Mojo
When writing a program from scratch, what does
def
bring to the table over fn
?
Although def
has its benefits and would work well alongside fn
, in practice, I don't see what stops it from being viewed as "legacy Python"5 replies