Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Clojure and Swing

Name: Anonymous 2010-03-05 1:45

Hey /prog/riders, I'm not a LISPer but I'm learning. I was wondering if it were possible to dynamically create a grid of buttons in swing, instead of initializing all of them individually. I was thinking of making a tic-tac-toe game, but I can't work out how to make it work without making nine specific variable buttons.

Name: Anonymous 2010-03-05 19:35

>>15
Scheme did
Then perhaps I've mistaken block structuring and lexical scoping W-|
CLOS(+MOP) is still one of the fanciest OO systems I've ever seen(and I'd argue much more flexible than some others), it also came much sooner than so-called 'modern' OO systems.
I agree, but this one is really just personal preference. Some people like prototypes and they have io; some like generic functions, they have CLOS; other like conflating ADTs and objects, they have Java.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List