Join Slack
Powered by
Now that I think about it, top level function shou...
# announcements
e
edwardwongtl
02/05/2018, 2:35 PM
Now that I think about it, top level function should make more sense when you do pure FP in Kotlin
z
ziad
02/05/2018, 3:39 PM
So for something like those game functions above, you’d go member function or top level function?
ziad
02/05/2018, 3:39 PM
If you weren’t concerned with the chaining and how it would look
e
edwardwongtl
02/05/2018, 3:41 PM
I'd prefer member function for now, you can also check if there's any convention in your company/current project
z
ziad
02/05/2018, 3:45 PM
It’s a solo project I’m using to learn Kotlin 🙂 Thanks man!
Open in Slack
Previous
Next