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 18:53

>>13
While it's nice to be a smug lisp weenie, we should give credit where it is due. OO wasn't invented in Lisp, even if CL was the first to have it in a standard. Aspect oriented programming wasn't invented by lispers, but lisp supports it. Lisp didn't invent lexical scoping, Algol did...and so on.

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