293

var Turtle1 var Turtle2 var Is_Turtle

you are viewing a single comment's thread
view the rest of the comments
[-] wesker@lemmy.sdf.org 6 points 1 month ago* (last edited 1 month ago)

When you start learning about different paradigms, you'll likely learn much more about inheritance when learning about the Object Oriented design paradigm.

To overly simplify, you create objects that inherit attributes from other objects. It's for instance a way to create reusable patterns, that have stronger and more reliable data structures.

I made the joke comment, because for instance, you could create a Turtle class, and always know it was a Turtle. Again, an oversimplification.

EDIT: I should also add that for some reason OOP is an oddly divisive subject. Developers always seem to want to argue about it.

[-] OttoVonNoob@lemmy.ca 3 points 1 month ago

Oh yea, class resources. That would work! Thanks.im going to have to into this more, as it's going to be useful

[-] wesker@lemmy.sdf.org 2 points 1 month ago* (last edited 1 month ago)

If I could give a suggestion I wish I had gotten much earlier on in my education and career, it would be to really spend some time learning about the different paradigms, and their best use cases. You will likely ensure yourself a strong foundation in software architecture.

[-] OttoVonNoob@lemmy.ca 1 points 1 month ago

I'll check it out! I'm very casual and doing thus mostly as a passion/Fun project. But I love any direction thank you:)

load more comments (3 replies)
load more comments (7 replies)
this post was submitted on 12 Sep 2024
293 points (96.2% liked)

Programmer Humor

19503 readers
580 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS