Zbornak
Zbornak
MModular
Created by Zbornak on 2/22/2024 in #questions
Py def vs Mojo fn
Hello there, forgive me if this is a stupid question but I am not very familiar with Python. I was reading up on the fact that Mojo accepts both 'dynamic' Python functions as well as safe Mojo functions. It also states that it is important to know both when using Mojo; I just wanted to ask for a use case where a def would be preferable to a fn? Many thanks!
9 replies