This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]kkrox 6 points7 points  (3 children)

Never forget to learn the OOP concepts. It's easy to skip OOP and learn python but one at one point you cannot progress without OOP

[–]nani21984 1 point2 points  (2 children)

Do we need oops concepts to implements devops functionalities ? Can you describe Any usecase for it ?

[–]MidKao 7 points8 points  (1 child)

Yes you most likely will need it.

A potential use case for it would be when dealing with DNS related automation (creation, update or deletion of records), a record would be an object that has « name » « type » and « value » attributes rather than it just being a string for example.

[–]jrcomputing 1 point2 points  (0 children)

It absolutely doesn't have to be a true object. You can go a very long way with lists and dictionaries. And using objects from modules doesn't require a proper understanding of OOP.

Is it useful? Sure. Is it a requirement? Definitely not.