Skip to content

tmrdlt/tmrdlt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

3 Commits
ย 
ย 

Repository files navigation

Hi ๐Ÿ‘‹

@main
def welcome(): Unit = {
  val me = SoftwareEngineer(
    name = "Timo Erdelt",
    role = "Full Stack Software Engineer",
    company = "Hula Earth",
    languages = Seq("de-DE", "en-US", "es-ES"),
    technologies = Seq("Scala", "TypeScript", "React", "Rust", "Go")
  )
  me.sayHi()
  me.introduce()
  me.sayGoodbye()
}

class SoftwareEngineer(name: String,
                       role: String,
                       company: String,
                       languages: Seq[String],
                       technologies: Seq[String]) {
  def sayHi(): Unit =
    println(s"Hi there, thank you for dropping by!")

  def introduce(): Unit = {
    println(s"My name is $name.")
    println(s"I'm a $role @ $company.")
    println(s"I speak the following languages: ${languages.mkString(", ")}.")
    println(s"My favorite technologies include: ${technologies.mkString(", ")}.")
  }

  def sayGoodbye(): Unit = {
    println(s"Feel free to connect or explore some of my repositories. Until next time!")
  }
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published