Skip to content

Update TeacherTicketDetailActivity.java#2

Open
renaaliu wants to merge 1 commit intotjiang11:masterfrom
renaaliu:patch-5
Open

Update TeacherTicketDetailActivity.java#2
renaaliu wants to merge 1 commit intotjiang11:masterfrom
renaaliu:patch-5

Conversation

@renaaliu
Copy link
Collaborator

@renaaliu renaaliu commented Jan 8, 2019

Hi, I'm currently working with John to update/improve the app. I've currently placed comments about proposed improvements in the code, and am planning on revising the code soon as well.


int id = item.getItemId();

//option to select all tickets for a class to export all
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Use the same indentation as the other lines.
  • Most style guides will say to leave a space between '//' and the beginning of your comment. Also, capitalization is nice!
  • Probably clearer to say 'Add an option to export all tickets for a class.' Full sentences are nice too when possible!
  • The typical workflow would be to instead just file a GitHub bug https://github.com/tjiang11/Tcrunch/issues. Personally for this project, since I did it alone I just used a separate doc to track my work. Just do whatever best fits your work style!

With that all being said, you don't have to do any of them because those really only matter if you're collaborating with more people. But at the same time, it's nice to have pretty code for yourself to look at that you wrote :) And if you ever share this project on your resume, people may poke around!

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