Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Object Oriented Programming

Name: Anonymous 2010-09-21 13:22

As a novice programmer and as someone who started learning programming with C, OOP just seems annoying to me. Seems as though it's easier to accomplish the same tasks without it. Is it actually necessary to learn it?

Name: Anonymous 2010-09-21 16:05

I can't tell if >>1 is a troll, but it's not a ridiculous question to ask whether OOP is valuable or not.

If you're competent in C, your code naturally becomes more "table based."  Big switch statements get replaced by function tables.  Your data structures tend to fall into arrays-of-structs or structs-of-arrays.  You separate related code into libraries and document well.  And once you become comfortable with a style like this, OOP doesn't really offer you much.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List