-
-
Replying to @steveklabnik
@steveklabnik I found funny that while it supports your argument,@wycats example shows a part of Rails we both disliked (extending Fixnun)2 replies 0 retweets 0 likes -
Replying to @steveklabnik
@steveklabnik@wycats not looking at the source I'm confused by how monomorphism is used (unless weeks() is a func passed as an argument)1 reply 0 retweets 0 likes -
Replying to @mattetti
@mattetti the Rust compiler automatically specializes a function for 2.days() (or whatever the trait is impled on)@steveklabnik1 reply 0 retweets 0 likes -
Replying to @wycats
@wycats@steveklabnik who gets the specialization/scoping? How is 2 passed as an arg to weeks() ?4 replies 0 retweets 0 likes
@mattetti Once you've done that 2.weeks() becomes a static call to the implementation of Period#weeks for uint. @steveklabnik
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.