Deutsch   English   Français   Italiano  
<vdap5d$1kp35$4@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!3.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Lawrence D'Oliveiro <ldo@nz.invalid>
Newsgroups: comp.os.linux.advocacy,comp.os.linux.misc
Subject: Re: Can't Avoid That Shit Rust - Even On Gentoo
Date: Sun, 29 Sep 2024 05:38:53 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 26
Message-ID: <vdap5d$1kp35$4@dont-email.me>
References: <pan$96411$d204da43$cc34bb91$1fe98651@linux.rocks>
	<5mqdnZuGq4lgwm_7nZ2dnZfqnPSdnZ2d@earthlink.com>
	<9tDIO.25203$afc4.21891@fx42.iad> <llgvjcF5rlhU3@mid.individual.net>
	<59JIO.96321$WtV9.10707@fx10.iad> <vd8bou$15h6g$2@dont-email.me>
	<18udnd3mEtEGfGX7nZ2dnZfqnPGdnZ2d@earthlink.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 29 Sep 2024 07:38:53 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="22838b7286fd66ecaa0be3d192bfd789";
	logging-data="1729637"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/bNl7ZKdxS5zsefxN/OYUg"
User-Agent: Pan/0.160 (Toresk; )
Cancel-Lock: sha1:62yki45HukpnIMSiniGigSsnbxQ=
Bytes: 2038

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.