Hacker News new | ask | show | jobs
by bbatchelder 1505 days ago
This is pretty neat. The complexity jump from CRUD to Circles and Cells is pretty radical, though.

I feel like a Master/Detail task would be a nice addition, and it could include a resizable divider so that the GUI framework's layout functionality is exercised.

1 comments

From a web POV I think, yes, but from a platform with something like AppKit it’s very, very straightforward honestly.

Note they’re explicitly encouraging the use of something like JTable/NSTableView in the cells example, the focus is on appearance/behavior customization and change propagation. And in the circles example, undo/redo is ideally provided for “free” by the environment, and with the system’s drawing frameworks & dialogs it really does make for a simple task.

If the environment lacks these basic capabilities though..

> f the environment lacks these basic capabilities though..

And that's the point, right? You're evaluating the toolkit, and if it lacks the features to make these tasks fairly easy, then it's going to be harder to do a lot of straightforward things.

I imagine a similar set of tasks could (and have) easily be contrived for other common libraries/toolkits that are used, such as HTTP client libraries, numerical libraries, etc.

Yeah, I'm primarily an AppKit developer, and honestly the circle drawing task seems a bit easier than the CRUD task to me.