HNHacker News
TopNewBestAskShowJobs

necolt

51 karma · joined February 21, 2016

Saulius Grigaitis - serial startup CTO. Ruby. Rails. Swift. Kitesurfing.
submissionscomments
necolt··on Swifton: Ruby on Rails-inspired web framework for Swift
Not everything else, Rust, OCalm just to name a few. Maybe it's just recent hype of such languages, but it definitely fits very well in some situations.
necolt··on Swifton: Ruby on Rails-inspired web framework for Swift
Swift concurrency is interesting topic for sure, looks like language isn't actually built around concurrency unlike other popular new languages these days. Interesting document here about Swift concurrency https://github.com/apple/swift/blob/master/docs/proposals/Co...
necolt··on Swifton: Ruby on Rails-inspired web framework for Swift
Seivan, thanks for your gist. I also tried to make controllers more protocol oriented, but it didn't help much with nice DSL for filters. Let's keep trying, maybe something beautiful will born soon. I would love to see you Swifton fork with your experiments.

I think Ruby is both strength and weakness of Rails. From my 10 years experience with large scale and large codebase Rails projects I can say that Ruby dynamism helps in web development. But for sure it comes with really high price tag.

necolt··on Swifton: Ruby on Rails-inspired web framework for Swift
I believe DHH first started to use "Omakase" term in Rails context, so his blog post and discussions afterwards is good place to check. You can alse check original Omakase https://en.wikipedia.org/wiki/Omakase .
necolt··on Swifton: Ruby on Rails-inspired web framework for Swift
https://news.ycombinator.com/item?id=4973383
necolt··on Swifton: Ruby on Rails-inspired web framework for Swift
Seivan, thanks. Yes, Rails "Omakase" is driving Swifton development.

I'm not sure that protocols will help here, because Swifton supports before/after filter. Could you explain more your idea about how protocols could help here to implement actions with filters?

necolt··on Vapor: a type-safe web framework for Swift
Frameworks. Frameworks Everywhere.

If you like Ruby on Rails you will like Swifton for Swift https://github.com/necolt/Swifton .