Sujet : Re: Can't Avoid That Shit Rust - Even On Gentoo
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.os.linux.advocacy comp.os.linux.miscDate : 29. Sep 2024, 06:38:53
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vdap5d$1kp35$4@dont-email.me>
References : 1 2 3 4 5 6 7
User-Agent : Pan/0.160 (Toresk; )
On Sun, 29 Sep 2024 01:11:54 -0400,
186282@ud0s4.net wrote:
On 9/28/24 3:38 AM, Lawrence D'Oliveiro wrote:
>
I suppose you can do anything with a single call, if you pack enough
arguments into it ...
Heh heh ... yea ... LOVE those compound lines with x.y.z.a.b.c() ...
SO comprehensible :-)
I have occasionally found method-chaining to be useful, particularly with
graphics APIs, e.g.
(draw
.close_path()
.set_source_colour(bg_colour)
.fill_preserve()
.set_line_width(line_thickness)
.set_source_colour(fg_colour)
.stroke()
)
If you want biz reports and checks printed - COBOL !
Could never handle proportional fonts and nice text layouts, though.
Python deals with those sorts of things better.