3 ms·
It's weird how little qualifies for 'type-safe' nowadays. The templating language is not typesafe for example. The parameters in the request aren't either. Take
by wereHamster 11y ago
It's weird how little qualifies for 'type-safe' nowadays. The templating language is not typesafe for example. The parameters in the request aren't either. Take a look at http://haskell-servant.github.io/ http://haskell-servant.github.io/ if you want to see what type-safe means.
- twic 11y agoIndeed, i don't see anything about it that's particularly type-safe, and the claim is not discussed beyond the bullet point at the top.
- tannernelson 11y agoWe are working hard to make all aspects of Vapor totally type safe. But, just by merit of being Swift, it's already infinitely more type safe than something like PHP. A key goal of the project is to avoid the use of `Any` anywhere possible, and to move any run time safety checks to compile time.
- xaduha 11y agoAlmost anything is better than PHP, that doesn't make this particular framework standout among many tens of others. In any case, I'm not going to consider using any framework that isn't on the first half of this list https://www.techempower.com/benchmarks/#section=data-r11&hw=peak&test=json https://www.techempower.com/benchmarks/#section=data-r11&hw=... Many of them are for JVM, but one cool thing about JVM, is that you don't have to use Java (Kotlin is often compared to Swift for example) while still using frameworks written in Java, like Undertow or Rapidoid.