Timeline for Why is C not considered an 'object-oriented' language?
Current License: CC BY-SA 3.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 13, 2013 at 13:55 | comment | added | Giorgio | "C and C++ can both do OOP (aside from no access control in C)": (1) access control is not a distinguishing feature of OOP because it is found in functional languages and procedural languages, (2) you can achieve access control in C by means of opaque pointers. | |
Oct 12, 2011 at 10:55 | comment | added | Rommudoh | you can even do object oriented programming in an assembly language. you just have to code disciplined. | |
Oct 11, 2011 at 20:07 | comment | added | Bill K | @kylben It wouldn't be too much of a stretch to store SQL code in the table then extract and execute (making the table your object) It would be an interesting experiment. Actually it's a little tempting... | |
Oct 11, 2011 at 16:32 | comment | added | kylben | Thanks, @BillK. I'd hate to see how OOP gets implemented in SQL, though. <shudder> | |
Oct 11, 2011 at 15:34 | comment | added | Bill K | Most languages can act as an OO, functional or pretty much any style of language. the difference is the "Oriented" and I'd never heard it put that way before. I wish I could vote this up 3 times and accept it, it's the right answer. | |
Oct 11, 2011 at 12:17 | comment | added | kylben | VBA I call "object based". It uses objects, but not polymorphically, and in the little bit of work I've done in it, I'm not sure you can even do polymorphism no matter what kind of code acrobatics you try. It's basically a procedural language with encapsulation. | |
Oct 11, 2011 at 12:09 | comment | added | JeffO | It's easer to create objects in VBA, but I wouldn't consider it object 'oriented' either. | |
Oct 11, 2011 at 4:04 | comment | added | dietbuddha | +1 For pointing our C can be OO. It's not convenient, but it can be done. | |
Oct 10, 2011 at 21:25 | history | edited | kylben | CC BY-SA 3.0 |
edited out spurious commas
|
Oct 10, 2011 at 21:19 | history | answered | kylben | CC BY-SA 3.0 |