(no title)
baktubi | 4 years ago
Aside from that I wouldn’t use it for complex algorithms.
It’s almost like a weird intersection between functional and object oriented paradigms.
But there’s not much benefit from these two approaches:
rect.setHeight(125).setWidth(250);
rect.setHeight(125); rect.setWidth(250);
That being said, for algorithms similar in spirit to the chaining I think the C# Linq language is a good example of something that works well in a “chained” fashion.
No comments yet.