[Tutor] Critiquing a function exercise from dabeaz (Was: Type annotation errors)
DL Neil
PyTutor at danceswithmice.info
Wed Jun 10 22:11:01 EDT 2020
On 11/06/20 12:37 PM, boB Stepp wrote:
> On Sat, Jun 6, 2020 at 9:45 PM DL Neil via Tutor <tutor at python.org> wrote:
>
>> Given that 'the other David' has been a trainer almost as long as I (but
>> he as a Python trainer - which I am (formally) not!), it seemed
>> reasonable teaching technique/planning that the course would build
>> further (per more-recent messages to this list). Perhaps the assertion
>> of it being a useful utility back-then, was somewhat premature, and
>> better applied to its 'final' iteration of development?
>
> I am more than two-thirds through. I could not stand the suspense,
> and skimmed through all of the remaining sections and exercises. I
> must report that at the end of the course the function under critique
> still returns either a list of dicts or a list of tuples depending on
> whether headers are present or not. Make of this what you will.
Perhaps then you should first finish the course, and then figure-out his
'what's next'. Possibly the story continues?
[by then you will have basic Python objectives achieved]
Failing that, revert and in a new msg/thread re-ask the question -
perhaps stating the problem as a user request or series of "user
stories"; and then asking how OOP-oriented pythonista would go-about
designing a solution (classes, methods, algorithms, ...)?
[which I believe is what you want to learn, under the "OOP" heading]
--
Regards =dn
More information about the Tutor
mailing list