One of the main reasons I'm attracted to Scala is the type-safety.
On Aug 3, 5:14 am, Timothy Perrett timo...@getintheloop.eu wrote:
I think his point was that rails is doing un-type-safe operations at runtime
which is *not* good!
On 03/08/2009 08:15, marius d. marius.dan...@gmail.com
for more implementation detail, checkout liftweb source, look at the
trait net.liftweb.util.TimeHelpers
On Jul 31, 8:10 pm, Caesar You ucae...@gmail.com wrote:
Hi everyone, i am a rookie of lift and scala.
now i am cofused about sth in the lift. Line 226 in
LiftSession.scala
ActorPing
I think his point was that rails is doing un-type-safe operations at runtime
which is *not* good!
On 03/08/2009 08:15, marius d. marius.dan...@gmail.com wrote:
The point being ... ?
On Jul 31, 7:44 pm, Alex Cruise a...@cluonflux.com wrote:
marius d. wrote:
Implicit conversions.
It's
On Mon, Aug 3, 2009 at 1:14 AM, Timothy Perrett timo...@getintheloop.euwrote:
I think his point was that rails is doing un-type-safe operations at
runtime
which is *not* good!
Monkey-patching was something that drove me out of the Ruby and Rails
communities. The problem with monkey
marius d. wrote:
The point being ... ?
What Tim dpp said. :)
-0xe1a
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Lift group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe
Implicit conversions.
In TimeHelpers.scala we have:
1. TimeSpanBuilder which contains method minutes, seconds etc.
2. And the implicits such as: implicit def intToTimeSpanBuilder(in:
Int): TimeSpanBuilder = TimeSpanBuilder(in)
therefore compiler automatically applies intToTimeSpanBuilder
marius d. wrote:
Implicit conversions.
It's worth noting that Rails accomplishes a similar trick by adding
methods to the Integer class at runtime. *shudder* :)
-0xe1a
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google