DEV Community

Discussion on: All You Need To Know About Context Managers In Python

Collapse
 
mccurcio profile image
Matt Curcio

Hi Jerry,
Helpful article. I learned something new. I have seen the with and the common file handle open approach but did not realize the differences could effect your program later on.

May I make one suggestion. I think your conclusion is very important. BUT, I am reminded of the 'old' advice about writing papers.

  1. Tell them what you are going to say.
  2. Tell them.
  3. Tell them what you said.

If believe the article might have had more impact on if the conclusion was ALSO at the beginning. This could help frame the text into 4 bullets. The intro need not say it the same way as the conclusion but I find it reinforces the points better for me.
Just my 2 cents ;)

Collapse
 
jerrynsh profile image
Jerry Ng

Hey Matt, I'm glad you learn something new!
I love your feedback and I'll do that in my future articles! I really appreciate it!