Skip to content

Classic OOP style? #131

@rubyFeedback

Description

@rubyFeedback

If I understand jrubyfx correctly then it is a DSL, where we use verbs to describe
what we want to have e. g.:

vbox {
}

And so forth.

Via ruby-gtk I am more used to:

x = Name.new

And then use .add() or << to chain widgets together.

Would it be possible for jrubyfx to also support that style? Where e. g. classes
from JavaFX are mapped 1:1? Like: JavaFX::TextArea.new or whatever the
name is?

I understand that in ruby everyone loves DSLs but I found them a lot more
complicated than classical OOP.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions