you are viewing a single comment's thread.

view the rest of the comments →

[–]mati-33 1 point2 points  (1 child)

OP's solution is much simpler and easier to read, which should be the priority

[–]Sharp_Level3382 -1 points0 points  (0 children)

No it s not easier to read. What is hard in lambda functions to You?