News for hackers. Stuff that matters.
Re:Love It or Hate It, Java Continues to Evolve by lihaoyi on Monday June 17, 2019 @09:07AM (#20202502)
In Scala using Cask it's

    object MinimalApplication extends cask.MainRoutes{
      @cask.get("/")
      def hello() = "Hello World!"
    
      initialize()
    }
API design shamelessly stolen from Python's Flask framework

There are no comments on this comment yet.