Deutsch English Français Italiano |
<878qwk9rym.fsf@nightsong.com> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!feeds.phibee-telecom.net!3.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Paul Rubin <no.email@nospam.invalid> Newsgroups: comp.lang.python Subject: Re: Triggered By Mediocre Code (Posting On Python-List Prohibited) Date: Sun, 25 Aug 2024 15:07:45 -0700 Organization: A noiseless patient Spider Lines: 13 Message-ID: <878qwk9rym.fsf@nightsong.com> References: <vag94r$23hhf$2@dont-email.me> MIME-Version: 1.0 Content-Type: text/plain Injection-Date: Mon, 26 Aug 2024 00:07:45 +0200 (CEST) Injection-Info: dont-email.me; posting-host="3ca1bbb217a9387df8cc22ea31765c9f"; logging-data="2207593"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+lYew9h3qNwaHXZPgO1cxQ" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Cancel-Lock: sha1:Mkimy1oY3eK0QuCkDcSdBKLxcFo= sha1:2izc0rGwA1+zPpSKFic63KzsefY= Bytes: 1599 Lawrence D'Oliveiro <ldo@nz.invalid> writes: > I mean, really? Four lines to do what could be done in a single > expression? Was that written by a PHP programmer, do you think? It is not fluent Python, that's for sure. No idea about PHP though. I have been wondering about PHP recently. The language is painful but the implementation has some attractions and it's widely available. So I've wondered if it might be feasible to have a front end for it similar to Typescript or Purescript. Is this what you had in mind? bufferedNumber = f'{doc.GetTime().GetFrame(docFps):04}'