Jump to content

  • Log In with Google      Sign In   
  • Create Account

Interested in a FREE copy of HTML5 game maker Construct 2?

We'll be giving away three Personal Edition licences in next Tuesday's GDNet Direct email newsletter!

Sign up from the right-hand sidebar on our homepage and read Tuesday's newsletter for details!


#Actualkloffy

Posted 12 June 2013 - 03:14 PM

It sounds like you would enjoy Scala's implicit parameters. I am somewhat torn on such features. I can certainly see where you're coming from, but - more often than not - explicit is better than implicit.
 
Edit: The video "Typeclasses in Scala with Dan Rosen" discusses a more realistic example built around serialization. The final solution makes use of implicit parameters.

#2kloffy

Posted 12 June 2013 - 03:11 PM

It sounds like you would enjoy Scala's implicit parameters. I am somewhat torn on such features. I can certainly see where you're coming from, but - more often than not - explicit is better than implicit.
 
Edit: The video "Typeclasses in Scala with Dan Rosen" discusses a more realistic scenario built around serialization. He arrives at a nice design, in part through the use of implicit parameters.

#1kloffy

Posted 12 June 2013 - 03:01 PM

It sounds like you would enjoy Scala's implicit parameters. I am somewhat torn on such features. I can certainly see where you're coming from, but - more often than not - explicit is better than implicit.

PARTNERS