Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

David's HW #18

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

David's HW #18

wants to merge 1 commit into from

Conversation

CongoCash
Copy link

No description provided.

Copy link

@spragala spragala left a comment

Choose a reason for hiding this comment

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

Great job!

@@ -0,0 +1,6 @@
<component name="InspectionProjectProfileManager">

Choose a reason for hiding this comment

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

In your .gitignore file please include .idea/ when you're pushing your code to github.

if last.length < 1 || first.length < 1
nil
else
first_name = ''

Choose a reason for hiding this comment

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

This is cool but you're doing a lot of work here! I would think about how you could refactor this code to write it more simply.

end

def format_year
nil
def user_type_prefix(level=0)

Choose a reason for hiding this comment

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

You're writing the same code three times here - how can you refactor this so that the code is DRY?

end

def build_username
nil

Choose a reason for hiding this comment

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

Nice!

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