futurecoder icon indicating copy to clipboard operation
futurecoder copied to clipboard

Chapter about dicts

Open alexmojaki opened this issue 3 years ago • 3 comments

Part of https://github.com/alexmojaki/futurecoder/issues/165

I've written a partial draft of a chapter about dictionaries here: https://demo.hedgedoc.org/OH78A7uwTDOjeMM4v0QFLg?edit

It's not complete, but a lot has been written, and the actual implementation of the existing content can start now, although suggestions for changes are still welcome.

alexmojaki avatar Jun 27 '22 10:06 alexmojaki

Alex, I've read the draft and I have a few suggestions.

  • In the nested language dictionaries example, you use f-strings. I think we can avoid using these here - I don't think they are needed.
  • Could we use quantity and quantities instead of amount and amounts? Amounts are generally used for uncountable values, while quantities can be used for both countable and uncountable values.

I will go ahead and start implementing the draft.

AndrewPluzhnikov avatar Jul 03 '22 22:07 AndrewPluzhnikov

This chapter is going to be added after all the other existing chapters, i.e. after the tic-tac-toe project. f-strings have been introduced and used several times, and I think it's best to keep using them.

Changing amount to quantity sounds fine.

Thanks for implementing!

alexmojaki avatar Jul 03 '22 23:07 alexmojaki

Next work on this is in https://github.com/alexmojaki/futurecoder/pull/370#issuecomment-1311489751

alexmojaki avatar Nov 12 '22 14:11 alexmojaki