Hacker News new | comments | ask | show | jobs | submit login
Type-safe routing in Spock (spock.li)
77 points by agrafix on Apr 19, 2015 | hide | past | web | favorite | 4 comments

When I tried out the play framework that was one of the "woah" moment when I discovered the typesafe routing. It is really good, and it automatically generates the routes from controller methods.

It's like a whole new world of generating urls.

I can't find any direct references anywhere, but from the name I can't help but compare this framework with Scotty[https://github.com/scotty-web/scotty]

From the github Readme: "Since version Spock is no longer built on top of scotty. The design and interface is still influenced by scotty, but the internal implementation differs from scotty's." :-)

It is pretty clearly inspired by Scotty, but I can't seem to find a motivation or comparison anywhere. Besides the new type safe routing, how does Spock improve on Scotty?

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact