Skip to content

Instantly share code, notes, and snippets.

@rmmeans
Last active August 29, 2015 14:03
Show Gist options
  • Save rmmeans/a160f46b6d8ffec563cd to your computer and use it in GitHub Desktop.
Save rmmeans/a160f46b6d8ffec563cd to your computer and use it in GitHub Desktop.
HelloWorld blog post for rmeans.com blog
object HelloWorld {
case class Blog(title : String, content : String)
def main (args: Array[String]) {
Console.println("Hello World, my name is Ryan Means and this is my blog.")
Console.println("You can read more about me @ my LinkedIn profile (see sidebar links)");
val firstBlogEntry = (content : String) => Blog.apply("Using Scala within your existing Java Play App", content)
val secondBlogEntry = (content : String) => Blog.apply("Understanding the importance of blocking actions in your Play Framework application", content)
//TODO: complete the first two blog entry functions by supplying content.
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment