{"action":"created","issue":{"url":"https://api.github.com/repos/Ada-C8/Calculator/issues/26","repository_url":"https://api.github.com/repos/Ada-C8/Calculator","labels_url":"https://api.github.com/repos/Ada-C8/Calculator/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/Ada-C8/Calculator/issues/26/comments","events_url":"https://api.github.com/repos/Ada-C8/Calculator/issues/26/events","html_url":"https://github.com/Ada-C8/Calculator/pull/26","id":249662529,"number":26,"title":"Isaac Del Rosario -- Carets","user":{"login":"cecdelr","id":13808272,"avatar_url":"https://avatars2.githubusercontent.com/u/13808272?v=4","gravatar_id":"","url":"https://api.github.com/users/cecdelr","html_url":"https://github.com/cecdelr","followers_url":"https://api.github.com/users/cecdelr/followers","following_url":"https://api.github.com/users/cecdelr/following{/other_user}","gists_url":"https://api.github.com/users/cecdelr/gists{/gist_id}","starred_url":"https://api.github.com/users/cecdelr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cecdelr/subscriptions","organizations_url":"https://api.github.com/users/cecdelr/orgs","repos_url":"https://api.github.com/users/cecdelr/repos","events_url":"https://api.github.com/users/cecdelr/events{/privacy}","received_events_url":"https://api.github.com/users/cecdelr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-11T15:01:25Z","updated_at":"2017-08-14T14:51:12Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Ada-C8/Calculator/pulls/26","html_url":"https://github.com/Ada-C8/Calculator/pull/26","diff_url":"https://github.com/Ada-C8/Calculator/pull/26.diff","patch_url":"https://github.com/Ada-C8/Calculator/pull/26.patch"},"body":"# Calculator\r\nCongratulations! You're submitting your assignment.\r\n\r\n## Comprehension Questions\r\n\r\n|  Question \t|  Answer \t|\r\n|---\t|---\t|\r\n|  Describe how you stored user input in your program.\t|   I stored user input by prompting them for one operator/number at a time. Then store this in an array of Strings that contain all the operators/numbers they typed in.\t|\r\n|  How did you determine what operation to perform?\t|   By storing user input into an array, I passed this array into my calculate method, converted all String operators (ex. “add”) into their actual symbols (ex. “+”) and stored all values into a concatenated String that would be passed into the eval() method. The eval() method is able to perform operations using the PEMDAS order of operation.\t|\r\n|  How did you make sure your program behaved correctly? | I ran the program with all possible test cases I could think of: if the user put in a normal 1 + 1 equation, if they used String operators like 1 add 1, if they used both, if they divided by zero, if they used a float, if they used parentheses, etc. And when a portion of my code doesn’t work, I try to isolate the code in question and fiddle around with it in the irb.  |\r\n|  Do you feel like you used consistent indentation throughout your code? \t|   I think so, yes, but I’m still guilty of hard-tabbing my code… The amount of characters I have per line also varies a lot.\t|\r\n|  If you had more time, what would you have added to or changed about the program? \t|   I would figure out a way for the user to just pass in a whole equation itself and calculate from there rather than typing everything one at a time.\t|\r\n"},"comment":{"url":"https://api.github.com/repos/Ada-C8/Calculator/issues/comments/322211699","html_url":"https://github.com/Ada-C8/Calculator/pull/26#issuecomment-322211699","issue_url":"https://api.github.com/repos/Ada-C8/Calculator/issues/26","id":322211699,"user":{"login":"tildeee","id":30602862,"avatar_url":"https://avatars0.githubusercontent.com/u/30602862?v=4","gravatar_id":"","url":"https://api.github.com/users/tildeee","html_url":"https://github.com/tildeee","followers_url":"https://api.github.com/users/tildeee/followers","following_url":"https://api.github.com/users/tildeee/following{/other_user}","gists_url":"https://api.github.com/users/tildeee/gists{/gist_id}","starred_url":"https://api.github.com/users/tildeee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tildeee/subscriptions","organizations_url":"https://api.github.com/users/tildeee/orgs","repos_url":"https://api.github.com/users/tildeee/repos","events_url":"https://api.github.com/users/tildeee/events{/privacy}","received_events_url":"https://api.github.com/users/tildeee/received_events","type":"User","site_admin":false},"created_at":"2017-08-14T14:51:12Z","updated_at":"2017-08-14T14:51:12Z","body":"# Calculator\r\n## What We're Looking For\r\n\r\n|  Feature  |   Feedback\t                                                                             |\r\n|---\t|---\t|\r\n|  Takes in two numbers and an operator and performs the mathematical operation.  |  x  |\r\n|\t**Baseline**\t|\t|\r\n|  Readable code with consistent indentation.  |  Let's get you set up with Atom shortcuts to help with indentation!  |\r\n|   **Extras**\t|   \t|\r\n|   \t|   \t|\r\n\r\n"}}
{"actor":{"display_login":"tildeee"}}