Global Feed Post Login
Replying to Avatar Ancap Revolt

So far the only thing I’ve used objects for was a Roman numeral converter. I stored a bunch of objects in an array, with each object having two keys, the Arabic numeral, and its Roman counterpart. Then I built a recursive function and iterated through the array to convert a number to a Roman numeral.

I mean I’ve used objects in the courses but that was the first time I’ve used them in a project. The courses haven’t even gotten to OOP, so idk if that’s actually OOP

Avatar
Elephant in the root 11mo ago

I suppose there was no inheritance, in which case you could say it's "a sane version of OOP".

Reply to this note

Please Login to reply.

Discussion

No replies yet.