Skip to content

Bohman codereview2#8

Open
bohmanwl wants to merge 4 commits intomasterfrom
bohman_codereview2
Open

Bohman codereview2#8
bohmanwl wants to merge 4 commits intomasterfrom
bohman_codereview2

Conversation

@bohmanwl
Copy link
Copy Markdown
Collaborator

@bohmanwl bohmanwl commented Apr 3, 2023

RoomRemix2 is a room design program that allows users to create a digital rendition of a room and fill it with furniture. It will connect with google marketplaces for various pieces of furniture's to help users create their ideal room arrangement.

Was the program available in UC Github on time?

  • Yes
    Is the program documented/commented well enough for you to understand?
  • Yes, it was way better than from the previous code review.
    Does the program compile?
  • No, the version I copied seemed to have some incomplete segments of code, preventing compilation errors. Its also possible that there may just be an issue with my IDE.

Rational:
Most changes I made are an effort to make the code easier to read, and less repeatable. for example the chaining change I made, functionally; the function works the same, but its more streamlined. I removed saveFloorplan since it had no functionality and therefor shouldn't be in the master branch. The version of master I cloned only had 1 unit test, more should be implemented as your project grows to help test various parts of your code.

My Commits:
lh1207/LocoQuest@7e50361
lh1207/LocoQuest@24960f9
lh1207/LocoQuest@718867e
lh1207/LocoQuest@d7afe2c
lh1207/LocoQuest@4458491

Concepts I learned:

  • How to chain setters instead of repeating lines.
  • How you can better arrange your DAO.
  • Various extended functions of Pallet Tools such as complimentary colors and shading

References:

bohmanwl added 4 commits April 2, 2023 19:08
…mplemented later. no need to have a placehold function commented out in its place on the main branch.
…nly had 1 unit test provided. try adding more unit tests to test various functions of your application. I've provided an example of a unit test that tests if your complementarycolor function is working.
Comment on lines +38 to +40
/*
chained the setters so that it dosnt just say "drawtool." over and over again.
*/
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Big no-no: do not put conversation in source code comments. That's clutter. Put the conversation here, in the Files Changed section of the pull request, where you can have a dialog with other developers.

@discospiff
Copy link
Copy Markdown

The scoped function apply {} is a good idea, though that can be implemented manually, and without the source code comment.

Beyond that, not a whole lot of tech debt reduction in this branch, so no need to merge it.

Comment on lines -19 to -20


Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Formatting can, and should, be performed automatically, and consistently, by the IDE. Formatting code is really programmer's preference anyway, and doesn't necessarily decrease technical debt.

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