Skip to content

name-badge misnamed exercises/functions: IF required to *return*, then don't label it "print", please.. #934

Closed
@libweirdness

Description

@libweirdness

"1. Print a badge for an employee"

"Implement the print_name_badge function."

"It should return the badge label, with the department name in uppercase."

IF it should RETURN a label, & not print it, then it shouldn't be named "print_badge_label".

ALL the "print_badge_label" exercise items are misleadingly worded..

"2. Print a badge for a new employee."

"When the id is missing, it should print a badge without it."

but if you println, instead of return, you fail your tests!

  1. also.

_ /\ _

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions