Could Odin have an actual 'function' as part of its syntax? #6747
Closed
floorpigeon
started this conversation in
Ideas/Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I like that Odin is more mathematically accurate to its imperative approach by calling subroutines 'proc', but I was thinking, could Odin add a more limited 'func' keyword or something similar that prohibits mutation of state and side effects? I think this would improve visual clarity by making it clear what procedures are purely functional. May be similar to #3600.
Beta Was this translation helpful? Give feedback.
All reactions