{"action":"created","issue":{"url":"https://api.github.com/repos/learn-co-curriculum/array-introduction/issues/2","labels_url":"https://api.github.com/repos/learn-co-curriculum/array-introduction/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/learn-co-curriculum/array-introduction/issues/2/comments","events_url":"https://api.github.com/repos/learn-co-curriculum/array-introduction/issues/2/events","html_url":"https://github.com/learn-co-curriculum/array-introduction/issues/2","id":116166863,"number":2,"title":"I don't *think* using negative numbers to access arrays is discussed.","user":{"login":"mikeappell","id":15162965,"avatar_url":"https://avatars.githubusercontent.com/u/15162965?v=3","gravatar_id":"","url":"https://api.github.com/users/mikeappell","html_url":"https://github.com/mikeappell","followers_url":"https://api.github.com/users/mikeappell/followers","following_url":"https://api.github.com/users/mikeappell/following{/other_user}","gists_url":"https://api.github.com/users/mikeappell/gists{/gist_id}","starred_url":"https://api.github.com/users/mikeappell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikeappell/subscriptions","organizations_url":"https://api.github.com/users/mikeappell/orgs","repos_url":"https://api.github.com/users/mikeappell/repos","events_url":"https://api.github.com/users/mikeappell/events{/privacy}","received_events_url":"https://api.github.com/users/mikeappell/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-10T18:04:10Z","updated_at":"2015-11-24T02:23:43Z","closed_at":"2015-11-24T02:23:43Z","body":"Actually, I believe I saw using [-1] to access the last index mentioned in one of the sections, but I think it would be worth adding, wherever seems most relevant, a paragraph on using negative index numbers, e.g. [-1] for last, [-2] for second to last etc, as well as a warning on looping past the first index.\r\n\r\nThis could also be mentioned where you describe the #first and #last methods, that they're essentially identical to [0] and [-1].\r\n\r\nIt would probably also be worth mentioning somewhere that you can chain methods together, e.g. array.reverse.each, or that you can also do something like collect.with_index to be able to gain that variable within the block."},"comment":{"url":"https://api.github.com/repos/learn-co-curriculum/array-introduction/issues/comments/159132994","html_url":"https://github.com/learn-co-curriculum/array-introduction/issues/2#issuecomment-159132994","issue_url":"https://api.github.com/repos/learn-co-curriculum/array-introduction/issues/2","id":159132994,"user":{"login":"SophieDeBenedetto","id":8999596,"avatar_url":"https://avatars.githubusercontent.com/u/8999596?v=3","gravatar_id":"","url":"https://api.github.com/users/SophieDeBenedetto","html_url":"https://github.com/SophieDeBenedetto","followers_url":"https://api.github.com/users/SophieDeBenedetto/followers","following_url":"https://api.github.com/users/SophieDeBenedetto/following{/other_user}","gists_url":"https://api.github.com/users/SophieDeBenedetto/gists{/gist_id}","starred_url":"https://api.github.com/users/SophieDeBenedetto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SophieDeBenedetto/subscriptions","organizations_url":"https://api.github.com/users/SophieDeBenedetto/orgs","repos_url":"https://api.github.com/users/SophieDeBenedetto/repos","events_url":"https://api.github.com/users/SophieDeBenedetto/events{/privacy}","received_events_url":"https://api.github.com/users/SophieDeBenedetto/received_events","type":"User","site_admin":false},"created_at":"2015-11-24T02:23:43Z","updated_at":"2015-11-24T02:23:43Z","body":"hi @mikeappell , \r\n\r\nThanks for the feedback. I've added a brief section that touches on the stuff you mention above to this reading: https://github.com/learn-co-curriculum/array-readme"}}