Debug: Database connection successful offtherock postings (Page 2) / Meta New Mars / New Mars Forums

New Mars Forums

Official discussion forum of The Mars Society and MarsNews.com

You are not logged in.

Announcement

Announcement: This forum is accepting new registrations via email. Please see Recruiting Topic for additional information. Write newmarsmember[at_symbol]gmail.com.

#26 Yesterday 16:36:41

tahanson43206
Moderator
Registered: 2018-04-27
Posts: 22,317

Re: offtherock postings

For offtherock re post in Python ... https://newmars.com/forums/viewtopic.ph … 55#p233855

Thanks for taking a look at the program!

I agree that most of the trends are toward object oriented programming.

My guess is that it helps to be introduced to object from the beginning, as you may well have been.

Actually, I didn't specify anything to Gemini. It simply created the program to my specifications for function, and used the standard Phthon patterns.  You had mentioned teaching Python, so I can well understand how you would be inclined toward object.

If you have a bit of free time and want to start a class in Python (with emphasis on object) I would be happy to help in whatever way I can. We have no one in the group at present who shows signs of being interested, but I am happy to bring in new members who might wish to take a class with your guidance.

(th)

Offline

Like button can go here

#27 Yesterday 16:54:32

offtherock
Member
Registered: 2017-10-26
Posts: 28

Re: offtherock postings

Nah i used to be for functional programming.
But slowly started to see how object programming really makes sense.
Especially in big systems.

It just needs to be introduced to people correctly.

I dont know what it means to start a class in python. Like, what that actually entails.
Hasn´t the class already started, we are already talking and learning.

Last edited by offtherock (Yesterday 17:49:17)

Offline

Like button can go here

#28 Yesterday 18:42:31

tahanson43206
Moderator
Registered: 2018-04-27
Posts: 22,317

Re: offtherock postings

For offtherock re #27

I agree that object makes sense for big systems.

I would even think it makes sense for two people working on a project.

The idea of not having global variables may be separate from object programming.

The original programs (active when I was entering the work force) had ONLY global variables.  Gradually the idea of local vs global variables crept in.

Now I understand the preference is for no global variables at all, and passing values from procedure to procedure.

(th)

Offline

Like button can go here

Board footer

Powered by FluxBB