3 ms·
For languages that don't (and depending on the usage, maybe ones that do), I'd like to throw out another possibility for those who haven't seen it before: Flue
by Izkata 7y ago
For languages that don't (and depending on the usage, maybe ones that do), I'd like to throw out another possibility for those who haven't seen it before: Fluent interfaces
draw_rect(5, 10).at(5, 6)
draw_rect().from(5, 6).to(10, 16)
It's one I'd be careful with though, as it can be easy to end up with something less readable.