Link Details

Link 94652 thumbnail
User 111696 avatar

By bloid
via erikengbrecht.blogspot.com
Published: Jul 15 2008 / 16:51

Ever since I started using Scala, I've had somewhat of a love-hate relationship with type inference. On the local level, type inference can make code much more concise, easier to read, and easier to refactor. It makes code easier to read because in cases where the type of variable is obvious, type annotations just add noise that distract from the meaning of the code.
  • 7
  • 0
  • 832
  • 147

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (7)



Voters Against This Link (0)