src/main/scala/HelloWorld.scala

1
2
3
object HelloWorld {
  def hello(name: String = "World") = s"Hello, $name!"
}

Comments

Usually the next step is to have a conversation about your code and iterate on your solution.

In the case of hello world, however, we won't be encouraging conversations and iterations. We simply wanted to make sure you got through the (sometimes fiddly) process of fetching, running some tests, and submitting a solution to the site.

The next step is to fetch the next exercise (exercism fetch), create a solution, and then submit it to the website as a conversation starter.

Happy hacking!


This is an automated nitpick. Read more about this experiment.

rikki- commented 8 March 2016 at 19:05 UTC

You're not logged in right now. Please login via GitHub to comment