naylor127/seesaw — comment on commit d0970aabcc362c850a81d16ec34b738c1c4140f3
File: src/seesaw/keystroke_explorer.clj line 1
By daveray:

I'd refactor this one a bit so that everything wasn't created at the top-level. I like the pattern of creating the layout in one function and then setting up listeners in another using selectors. As it stands everything gets created when the file's loaded rather than when `start-explorer` is called.

Also, adding a `-main` is a good idea so it can be run outside of the repl.