coderefinery / modular-code-development

Modular code development lesson.
Creative Commons Attribution 4.0 International
3 stars 4 forks source link

My thoughts on the lesson #23

Open rkdarst opened 4 years ago

rkdarst commented 4 years ago

I promised to give my thoughts, but may not be available in person. So here they are. I think #14 (functions, abstraction layers, packages) is still relevant and I'm surprised that there's still code there (I thought I hadn't done anything...)

My list of easiest things to do, that everyone should do (I'd empasize 3-4 to emphasize):

Thoughts on slides:

These are the big ideas, I can have plenty of small ideas later.

bast commented 4 years ago

Thanks for the ideas! Another question I found useful and started with in Lille: "what does modular code development mean to you"? We answered the 4 questions together in the hackpad, without splitting into groups.

For me there are two central ideas:

This would also be a place to point to good examples for inspiration so I will try to add links.

rkdarst commented 4 years ago

This is a good point: "pure function" emphasis could be "reduce dependence on external state". Like the other issue pointed out, this may be more realistic to emphasize and has hit me a lot more often.

e.g reduce global variables, functions use only arguments for parameters, etc.

+1 to idea of using the hackpad.