Skip to content

Conversation

@sarahwalters
Copy link
Collaborator

Hey Gabe,

Comments throughout your files -- you asked for advice about reorganizing your getUsers function, so I refactored the way I would have done it (see my feedback branch for a clean copy, without all of the diff craziness going on in the pr).

If you revisit Twoter to refactor & clean up and you'd like feedback/help, feel free to let us know!

In general, I think you have room to grow with regard to code cleanliness/maintainability (true for pretty much everyone, I think! I'm absolutely still working on it too). I get that this app was hard and your focus was on getting to work, but now that you're not seeing the material for the first time, you can spend more energy making sure your code spacing/indentation/curly-bracketing makes the code make sense, your function names explain the functions, there aren't any debugging mechanisms (console.logs, comments) hanging around (as interesting as it is to observe people's debugging processes, that doesn't belong in "production"), etc. I like to think of writing code kind of like I think about design -- your "users" are the people who work with you, review you, and build off of what you do as a developer, and you'll serve them well if you think about what they need and value in a codebase.

Remember not to merge these pull requests -- take a look at the feedback, feel free to comment if you'd like to discuss anything, and then close the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants