Harrisonnad / PDF_Reader

0 stars 0 forks source link

OOP #1

Open NoahSchiro opened 3 years ago

NoahSchiro commented 3 years ago

I often hear programmers talk about how people use object oriented programming in cases where it is totally unnecessary. Isn't this program simple enough that we could just format this as a function? Not super familiar with python, so I am not sure if there is some optimization to be had by making this structured around the Reader class

Harrisonnad commented 3 years ago

I agree with you whole heartedly but to run the program as a cli it needs to be in an OOP format. Trust me I dont like over complicating anything as much as the next guy. I believe in simplicity in design but unfortunately as it it has to be this way.

On Mon, Nov 9, 2020, 12:11 AM NoahSchiro notifications@github.com wrote:

I often hear programmers talk about how people use object oriented programming in cases where it is totally unnecessary. Isn't this program simple enough that we could just format this as a function? Not super familiar with python, so I am not sure if there is some optimization to be had by making this structured around the Reader class

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Harrisonnad/PDF_Reader/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALWUVJOUVIB5YZNI6O5FRQDSO52YFANCNFSM4TO3CKSQ .

Harrisonnad commented 3 years ago

When I expand the program to have a gui I think we can destructure it into a simple function.

On Mon, Nov 9, 2020, 9:15 AM Harrison Nadal harrisonn64@gmail.com wrote:

I agree with you whole heartedly but to run the program as a cli it needs to be in an OOP format. Trust me I dont like over complicating anything as much as the next guy. I believe in simplicity in design but unfortunately as it it has to be this way.

On Mon, Nov 9, 2020, 12:11 AM NoahSchiro notifications@github.com wrote:

I often hear programmers talk about how people use object oriented programming in cases where it is totally unnecessary. Isn't this program simple enough that we could just format this as a function? Not super familiar with python, so I am not sure if there is some optimization to be had by making this structured around the Reader class

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Harrisonnad/PDF_Reader/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALWUVJOUVIB5YZNI6O5FRQDSO52YFANCNFSM4TO3CKSQ .