TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Foursquare.com now all on Lift, in Scala

42 pointsby iamdanwover 15 years ago

3 comments

jawngeeover 15 years ago
I have a beef.<p><a href="http://liftweb.net/docs/getting_started/mod_master.html" rel="nofollow">http://liftweb.net/docs/getting_started/mod_master.html</a><p>In their controller code for all the example stuff, they're generating HTML "snippets". In the instructional text they talk about how they are opposed to logic in the views, but how is that consistent when you are generating html in the controllers?<p>I know a lot of frameworks do it, but I don't understand why. We repurpose a lot of our controller code for stuff other than web (command line, api) so for it to be bound to HTML in particular seems bad practice and even worse presented in the tutorials.<p>I'm well aware you needn't do it when using Lift, but why start off on the wrong foot?
rglullisover 15 years ago
The message states that it took 3 months to do the port, but it doesn't say what was used in the original code.
评论 #975450 未加载
rwebbover 15 years ago
<a href="http://foursquare.com/" rel="nofollow">http://foursquare.com/</a><p>funny