why are many functions in the stdlib extension-fun...
# getting-started
f
why are many functions in the stdlib extension-functions and not put directly into the corresponding class?
k
I do this too sometimes, if it doesn't need private state I just make it an extension functions.
But again, can you give a specific example?
t
t
well, first of all, many functions in the stdlib ware extensions to existing javaclasses - there wouldn't be another way to get all the useful methods into an .e.g
Set
f
Thanks, I read the post