codethesaurus / codethesaur.us

A polyglot developer reference tool to compare programming language concepts side-by-side! Great for learning new languages or using for reference.
https://codethesaur.us
GNU Affero General Public License v3.0
282 stars 162 forks source link

Add Objective-C Lists/Arrays/Hashes #288

Closed geekygirlsarah closed 2 years ago

geekygirlsarah commented 2 years ago

Description

Lists/Arrays/Hashes for Objective-C aren't presently on Code Thesaurus. This issue is to add that concept to the system.

Requirements

Claiming This Issue

Please leave a comment below so I can assign you to it. This is to prevent multiple people from working on the same issue.

Check out CONTRIBUTING.md for more information on how to contribute.

Check out https://docs.codethesaur.us/thesaurus/ for information on how Code Thesaurus works and how to add to the thesauruses.

Need Help?

Leave a comment on here with your question, or feel free to ask @geekygirlsarah on Twitter. You can also email coreteam@codethesaur.us too.

Thanks!

We really value and appreciate the additions people make to Code Thesaurus, no matter how large or small. So thank you for taking the time to work on this!

vinayak0127 commented 2 years ago

Can i work on this issue?

geekygirlsarah commented 2 years ago

Yeah @vinayak0127 , I'll let you have it. Review the docs, and let me know if you have questions or need any help!

vinayak0127 commented 2 years ago

@geekygirlsarah Hey! I have one doubt can I write code snippets in the code from the official documentation or just the keyword for e.g :

 "name_of_ordered_mutable_list": {
      "name": "What is an ordered, mutable list called?",
      "code": "NSMutableArray *sports = [NSMutableArray arrayWithObjects:@"Cricket", @"Football",@"Hockey", @"Table Tennis", nil];"
},

OR

 "name_of_ordered_mutable_list": {
      "name": "What is an ordered, mutable list called?",
      "code": "NSMutableArray"
},
geekygirlsarah commented 2 years ago

I'd like the minimum needed to convey the correct code for the concept. Here NSMutableArray might work. While you could use an example (some have), don't make it overly complex or something that certain people would know. It should be something that's as recognizable and simple as possible to go across language barriers (both English as well as the programming language)