[Haskell-cafe] Does anybody dislike implicit params as much asI do?

Sittampalam, Ganesh ganesh.sittampalam at credit-suisse.com
Fri Mar 13 07:15:23 EDT 2009


Jules Bean wrote:
> Thomas Hartman wrote:
>>
http://blog.patch-tag.com/2009/03/09/implicitparams-are-evil-thoughts-
>> on-adapting-gitit/ 
>> 
>> I understand there are arguments for using IPs, but after this
>> experience, the ImplicitParams extension is a "code smell" for me.
> 
> It's not just you. Implicit parameters are a scourge on the language.

I think they have a useful place in propagating semi-global
configuration
information without imposing huge syntactic overhead. I think using them
like
in the code referred to in the URL above, where their values are
frequently
changed down the call stack, is dangerous.

Ganesh

=============================================================================== 
 Please access the attached hyperlink for an important electronic communications disclaimer: 
 http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html 
 =============================================================================== 
 


More information about the Haskell-Cafe mailing list