What is Nostr?
ancaprevolt / Ancap Revolt
npub1chs…kdvm
2025-02-01 15:10:53
in reply to nevent1q…q6ka

ancaprevolt on Nostr: So far the only thing I’ve used objects for was a Roman numeral converter. I stored ...

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
Author Public Key
npub1chshx7vd455a62uqv2urzzt54mg2wt3kghu7trfp9x7x40g4mzlszhkdvm