thank you!
yeah, those type save builders / DSLs are nice. But they are a topic on their own, and and wanted to keep it "basic" :-)
I would not consider calcExecTime a builder, since it does not create anything.
calcExecTime
btw a method like this already exists in the standard lib - its called measureTimeMillis :-)
measureTimeMillis
actually yes, its build nothing) sorry for disorientation, but I want to show many other features, who can be provided by lambda with receiver.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
thank you!
yeah, those type save builders / DSLs are nice. But they are a topic on their own, and and wanted to keep it "basic" :-)
I would not consider
calcExecTime
a builder, since it does not create anything.btw a method like this already exists in the standard lib - its called
measureTimeMillis
:-)actually yes, its build nothing) sorry for disorientation, but I want to show many other features, who can be provided by lambda with receiver.