On 8/10/2018 7:01 PM, Neil Girdhar wrote:
It would be nice if dataclasses
(https://docs.python.org/3/library/dataclasses.html#dataclasses.dataclass)
had an option to make them a sequence. This would make
dataclass(frozen=True, order=True, sequence=True)
an optionally-typed version of namedtu
[Neil Girdhar]
> > ... I don't find the google-ablilty argument super strong because
> there are many constructs that are difficult to google, but still pretty
> great (e.g. comprehensions).
> Not that it matters, but comprehension is a standard term in mathematics
> and computer science apparent
On Fri, Aug 10, 2018 at 04:01:59PM -0700, Neil Girdhar wrote:
> It would be nice if dataclasses
> (https://docs.python.org/3/library/dataclasses.html#dataclasses.dataclass)
> had an option to make them a sequence.
Do you have a use-case or reason for this other than "it would be nice"?
Nice in
It would be nice if dataclasses
(https://docs.python.org/3/library/dataclasses.html#dataclasses.dataclass)
had an option to make them a sequence. This would make
dataclass(frozen=True, order=True, sequence=True)
an optionally-typed version of namedtuple. It would almost totally
supplant it e
On Fri, Aug 10, 2018 at 6:21 PM Abe Dillon wrote:
> [Neil Girdhar]
>
> I prefer partial since many programmers studied computer science
>
>
> Many did not. I studied electrical engineering and wouldn't have been able
> to tell you what the word 'partial' meant four years ago even though I've
> be
[Neil Girdhar]
> I prefer partial since many programmers studied computer science
Many did not. I studied electrical engineering and wouldn't have been able
to tell you what the word 'partial' meant four years ago even though I've
been programming in one form or another since the late nineties.
Hi all
Thanks to all for feedback on the question, and I will follow up with it
on the other channels suggested!
thanks
Patrick
On 10/08/2018 01:11, Wes Turner wrote:
edu-sig may be a good list for such a discussion; though you may find
more information on Python lessons aligned with CS/Sci
On Thu, Aug 09, 2018 at 01:32:00PM -0500, Abe Dillon wrote:
> I'd like to push for the less jargon-y `func.given()` version if this gains
> traction. Not only is it shorter, it's a much more common term with a clear
> meaning.
It's a clear, *generic* meaning that doesn't have any association with