On 2/9/06, Simon Kr?ger <SimonKroeger / gmx.de> wrote:

> Well, i haven't used FXRuby very much, so i might miss the problem with
> the current interface, but from what i see below i think this new
> version doesn't justify breaking old code.

OK.

> > For example, the 4-way
> > splitter window can be configured to expand only its top-left pane:
> >
> > splitter1.expanded = TOP_LEFT
>
> Seems perfectly fine. Ok :top_left if more ruby'ish but also more
> dangerous.

Why do you consider it more dangerous to use a symbol in place of a
symbolic constant? Is it that Ruby would "notice" that a constant's
name is erroneous (e.g. misspelling TOP_LEFT as TOPLEFT), but wouldn't
notice if you made the same mistake for a symbol or string (e.g.
misspelling "top_left" as "topleft")?

> The following isn't meant to be 'the soultion' but perhaps food for
> thoughts:

<snip>

Thanks. I need to ponder this...