[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Fab-user] Patch for prompt and require
From: |
Christian Vest Hansen |
Subject: |
Re: [Fab-user] Patch for prompt and require |
Date: |
Tue, 21 Oct 2008 17:14:41 +0200 |
On Tue, Oct 21, 2008 at 4:09 PM, Niklas Lindström <address@hidden> wrote:
> Hi,
>
> One more thing. I've used my `var` mechanism a bit now, and the name
> feels unintuitive.
>
> In case you decide to go with that (and replace set/get with it
> altogether), I propose to rename it to e.g. `config` or `settings`,
> which feels a lot better.
Hmm.... naming stuff is hard. I caan't seem to decide on a favorite or
best name. I wonder what others think.
What about a let()/get() pair? Granted it's going back to the
set()/get() thing, and maybe it only feels intuitive'ish to those
who've dipped toes in the functinoal aspects of life, but it's an
alternative.
Or:
let.fab_user = "brian"
print the.fab_user
For the dict interface :o) Or perhaps that will be too un-pythonic.
I'm just thinking out loud.
>
> Best regards,
> Niklas
>
--
Venlig hilsen / Kind regards,
Christian Vest Hansen.
- [Fab-user] Patch for prompt and require, Niklas Lindström, 2008/10/18
- Re: [Fab-user] Patch for prompt and require, Christian Vest Hansen, 2008/10/18
- Re: [Fab-user] Patch for prompt and require, Niklas Lindström, 2008/10/20
- Re: [Fab-user] Patch for prompt and require, Christian Vest Hansen, 2008/10/21
- Re: [Fab-user] Patch for prompt and require, Jeff Forcier, 2008/10/21
- Message not available
- Fwd: [Fab-user] Patch for prompt and require, Niklas Lindström, 2008/10/21
- Message not available
- Re: [Fab-user] Patch for prompt and require, Jeff Forcier, 2008/10/21