Recent submissions

Comment · 14 years ago
Wow. I am interested to know how C is reinventing the wheel. Do tell us more about it.
Comment · 14 years ago
It might not be wise to go back to bloated JEE. However, it would certainly be unwise to leave the knowledge behind. People working in Rails and Django applications need to learn those important lessons. It can save them from a lot of common pitfalls. I have seen people using a large number of servers for Rails applications while similar load is handled by less half their number of servers using Java.
Comment · 14 years ago
I am not against fat models. However, the point of separating code into tiers makes it cleaner. The author does approve of concerns. His point is models are becoming too fat over time and people need to follow techniques like concerns and use cases to take out business logic. Essentially something already well known in other platforms is unknown in these communities.
Comment · 14 years ago
yes exactly.

It is really sad sometimes.

Comment · 14 years ago
Model classes in Rails inherit ActiveRecord::Base. So, you can call a class method like update_all which is equivalent to an update statement on the table.

'Models could have 0 code of working with database and business-logic only' Well the business logic creeping in is one of the issues here. That is why there are attempts to separate out the business logic as in case of the use of /app/use_cases [refer to the link of use cases in the article].

Comment · 14 years ago
I would to have a surprise release.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton