|
|
|
|
|
by subwindow
5157 days ago
|
|
The real benefit with Ruby is the creation of DSLs that make working with these UI elements much easier. It's only a matter of time before someone creates a DSL that looks something like: window = screen.main.new_window(
frame: true,
key: true,
visible: true
)
Or something like that. I'm not an iOS developer, so I'm not really sure what parts of the insanely-verbose method calls are actually necessary.(As an aside, I have Vim rigged up to do autocompletion with Ruby. I'm sure it would work with these Cocoa libraries as well) |
|
It's called "Intention Revealing Names." Names are long to provide the programmer information, so shortening them would have a negative impact.
As an aside, I have Vim rigged up to do autocompletion with Ruby. I'm sure it would work with these Cocoa libraries as well
If someone writes the necessary plumbing.