Skip to content

Instantly share code, notes, and snippets.

@sliskiCode
Last active December 10, 2017 11:06
Show Gist options
  • Save sliskiCode/ce8c9784774025b50ccd7dcfd363dbaf to your computer and use it in GitHub Desktop.
Save sliskiCode/ce8c9784774025b50ccd7dcfd363dbaf to your computer and use it in GitHub Desktop.
6 magic sugars that can make your Kotlin codebase happier #6
enum class Employee {
DEV_LEAD,
SENIOR_ENGINEER,
REGULAR_ENGINEER,
JUNIOR_ENGINEER
}
enum class Contract {
PROBATION,
PERMANENT,
CONTRACTOR,
}
@philipphofmann
Copy link

I think you have one comma too much at the end of CONTRACTOR.

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